//
// xComp2 from 0x789504 to 0x789570 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x59cf8
//
// 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 12:53:26 +0000
//
__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 + 1624LL))(v2);
v5 = (int)(*(float (__fastcall **)(_DWORD *))(*(_QWORD *)v3 + 1624LL))(v3);
if ( v4 == v5 )
{
v5 = v4 + v3[415];
v4 += v2[415];
}
return (unsigned int)(v4 - v5);
}