//
// xComp2 from 0x65cb50 to 0x65cbbc (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x3e310
//
// 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
//
__int64 __fastcall xComp2(_DWORD **a1, _DWORD **a2)
{
_DWORD *v2; // x21
_DWORD *v3; // x20
int v4; // w19
int v5; // w0
v2 = *a1;
v3 = *a2;
v4 = (int)(*(float (__fastcall **)(_DWORD *))(*(_QWORD *)v2 + 1608LL))(v2);
v5 = (int)(*(float (__fastcall **)(_DWORD *))(*(_QWORD *)v3 + 1608LL))(v3);
if ( v4 == v5 )
{
v5 = v4 + v3[411];
v4 += v2[411];
}
return (unsigned int)(v4 - v5);
}