//
// xCompRealPos from 0x5c8574 to 0x5c85c8 (84 bytes)
//
// 3 xrefs:
// > ??> @ 0x8c400
// > PlayLayer::createObjectsFromSetupFinished @ 0x5d7d08
// > ??> @ 0x122cc50
//
// 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 xCompRealPos(_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));
}