//
// xComp2 from 0x365ae0 to 0x365b26 (70 bytes)
//
// 0 xrefs:
//
// 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 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 + 804))(*a1));
v5 = (int)(*(float (__fastcall **)(_DWORD *))(*v3 + 804))(v3);
if ( v4 == v5 )
{
v5 = v3[368] + v4;
v4 += *(_DWORD *)(v2 + 1472);
}
return v4 - v5;
}