//
// sub_1003F5EC4 from 0x1003f5ec4 to 0x1003f5f14 (80 bytes)
//
// 2 xrefs:
// > sub_10040248C @ 0x100402674
// > DrawGridLayer::draw @ 0x10040c7a4
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:04:33 +0000
//
__int64 __fastcall sub_1003F5EC4(_QWORD *a1, __int64 *a2)
{
__int64 v2; // x19
int v3; // w20
v2 = *a2;
v3 = (int)*(float *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*a1 + 192LL))(*a1);
return (unsigned int)(v3 - (int)*(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2));
}