//
// xComp2 from 0x45fab4 to 0x45fafa (70 bytes)
//
// 0 xrefs:
//
// 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:48:52 +0000
//
int __fastcall xComp2(_DWORD *a1, _DWORD **a2)
{
int v2; // r6
_DWORD *v3; // r5
int v4; // r4
int v5; // r0
v2 = *a1;
v3 = *a2;
v4 = (int)COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(*(_DWORD *)*a1 + 812))(*a1));
v5 = (int)(*(float (__fastcall **)(_DWORD *))(*v3 + 812))(v3);
if ( v4 == v5 )
{
v5 = v3[370] + v4;
v4 += *(_DWORD *)(v2 + 1480);
}
return v4 - v5;
}