//
// xCompPosition from 0x854890 to 0x8548e4 (84 bytes)
//
// 4 xrefs:
// > ??> @ 0x8c5e0
// > GJBaseGameLayer::sortAllGroupsX @ 0x85d834
// > GJBaseGameLayer::sortGroups @ 0x883520
// > ??> @ 0x122cc68
//
// 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 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));
}