//
// boxCompMax from 0x33be74 to 0x33bec4 (80 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall boxCompMax(_DWORD *a1, int *a2)
{
int v2; // r4
cocos2d::CCRect *v3; // r0
float v4; // s16
cocos2d::CCRect *v5; // r0
v2 = *a2;
v3 = (cocos2d::CCRect *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)*a1 + 656))(*a1);
v4 = COERCE_FLOAT(cocos2d::CCRect::getMaxY(v3));
v5 = (cocos2d::CCRect *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 656))(v2);
return (int)(float)(COERCE_FLOAT(cocos2d::CCRect::getMaxY(v5)) * 10.0) - (int)(float)(v4 * 10.0);
}