//
// boxCompMax from 0x74d758 to 0x74d7c4 (108 bytes)
//
// 5 xrefs:
// > ??> @ 0xa1f08
// > PlayerObject::spiderTestJumpInternal @ 0x763588
// > PlayerObject::spiderTestJumpY @ 0x765038
// > PlayerObject::spiderTestJumpY @ 0x765044
// > ??> @ 0x1544838
//
// 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:52:53 +0000
//
__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 + 1328LL))(*a1);
cocos2d::CCRect::getMaxY(v3);
v5 = v4;
v6 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1328LL))(v2);
cocos2d::CCRect::getMaxY(v6);
return (unsigned int)((int)(float)(v7 * 10.0) - (int)(float)(v5 * 10.0));
}