//
// xCompPosition from 0x998480 to 0x9984d4 (84 bytes)
//
// 4 xrefs:
// > ??> @ 0xb9f08
// > GJBaseGameLayer::sortAllGroupsX @ 0x9a0b70
// > GJBaseGameLayer::sortGroups @ 0x9ca6a4
// > ??> @ 0x15455e8
//
// 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:58:03 +0000
//
__int64 __fastcall xCompPosition(_QWORD *a1, __int64 *a2)
{
__int64 v2; // x19
float v3; // s1
v2 = *a2;
v3 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*a1 + 192LL))(*a1);
return (unsigned int)((int)v3 - (int)*(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2));
}