//
// sub_49924 from 0x49924 to 0x4995a (54 bytes)
//
// 2 xrefs:
// > sub_49168 @ 0x491e4
// > sub_49C94 @ 0x49cca
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:40:40 +0000
//
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;
}