//
// boxCompMinX from 0x6209c4 to 0x620a30 (108 bytes)
//
// 5 xrefs:
// > ??> @ 0xbd750
// > PlayerObject::spiderTestJumpInternal @ 0x634874
// > PlayerObject::spiderTestJumpX @ 0x636a98
// > PlayerObject::spiderTestJumpX @ 0x636acc
// > ??> @ 0x122e8e8
//
// 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 boxCompMinX(_QWORD *a1, __int64 *a2)
{
__int64 v2; // x19
cocos2d::CCRect *v3; // x0
float v4; // s0
float v5; // s8
cocos2d::CCRect *v6; // x0
float v7; // s0
v2 = *a2;
v3 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*a1 + 1312LL))(*a1);
cocos2d::CCRect::getMinX(v3);
v5 = v4;
v6 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);
cocos2d::CCRect::getMinX(v6);
return (unsigned int)((int)(float)(v5 * 10.0) - (int)(float)(v7 * 10.0));
}