//
// sub_10048156C from 0x10048156c to 0x100481600 (148 bytes)
//
// 1 xrefs:
// > sub_100481540 @ 0x10048155c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __usercall sub_10048156C@(__int64 a1@, __int64 a2@)
{
char v2; // w9
unsigned int v3; // w9
if ( v2 < 0 )
v3 = ((byte_100852D18[v2 & 0x1F] * (unsigned int)*(unsigned __int8 *)(a1 + 264)) >> 5) & 0x7FC;
else
v3 = -(((byte_100852D18[v2 & 0x1F] * (unsigned int)*(unsigned __int8 *)(a1 + 264)) >> 5) & 0x7FC);
*(_DWORD *)(a2 + 80) = v3;
*(_BYTE *)(a2 + 60) |= 1u;
return 0;
}