//
// sub_49924 from 0x49924 to 0x4995a (54 bytes)
//
// 2 xrefs:
// > sub_49168 @ 0x491e4
// > sub_49C94 @ 0x49cca
//
// 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
//
int __fastcall sub_49924(int a1, int a2)
{
int v2; // r1
int v4; // r0
int result; // r0
v2 = a1 + 4 * a2;
v4 = *(_DWORD *)(v2 + 260);
if ( !v4 )
return 0;
result = sub_8E614(v4, *(float *)(*(_DWORD *)(a1 + 16) + 344) * *(float *)(v2 + 244), 64, 1, 0);
if ( !result )
return 0;
return result;
}