//
// boxCompMax from 0x620958 to 0x6209c4 (108 bytes)
//
// 5 xrefs:
// > ??> @ 0x79128
// > PlayerObject::spiderTestJumpInternal @ 0x634a68
// > PlayerObject::spiderTestJumpY @ 0x6365a0
// > PlayerObject::spiderTestJumpY @ 0x6365ac
// > ??> @ 0x122c0e0
//
// 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 boxCompMax(_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::getMaxY(v3);
v5 = v4;
v6 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);
cocos2d::CCRect::getMaxY(v6);
return (unsigned int)((int)(float)(v7 * 10.0) - (int)(float)(v5 * 10.0));
}