//
// sub_1003F5F30 from 0x1003f5f30 to 0x1003f5fa4 (116 bytes)
//
// 1 xrefs:
// > sub_1003F823C @ 0x1003f85f4
//
// 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
//
unsigned __int64 __fastcall sub_1003F5F30(float **a1, __int64 *a2)
{
float *v2; // x0
__int64 v3; // x19
float v4; // s8
float v5; // s9
v2 = *a1;
v3 = *a2;
v4 = v2[452];
v5 = *(float *)(*a2 + 1808);
if ( v4 == v5 )
{
v4 = v4 + (float)(*(int (__fastcall **)(float *))(*(_QWORD *)v2 + 64LL))(v2);
v5 = v5 + (float)(*(int (__fastcall **)(__int64))(*(_QWORD *)v3 + 64LL))(v3);
}
return (__PAIR64__(v4 > v5, LODWORD(v4)) - LODWORD(v5)) >> 32;
}