//
// PlayerObject::collidedWithObject from 0x442874 to 0x4428d8 (100 bytes)
//
// 2 xrefs:
// > PlayerObject::collidedWithObject @ 0x44290c
// > PlayerObject::postCollision @ 0x443d08
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:27 +0000
//
int __fastcall PlayerObject::collidedWithObject(
PlayerObject *a1,
float a2,
GameObject *a3,
const cocos2d::CCRect *a4,
char a5)
{
_BYTE v9[16]; // [sp+Ch] [bp-18h] BYREF
if ( *((_BYTE *)a1 + 1963) )
{
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v9, a4);
return PlayerObject::handleRotatedObjectCollision(a1, a2, a3, (const cocos2d::CCRect *)v9, a5);
}
else
{
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v9, a4);
return PlayerObject::collidedWithObjectInternal((int)a1, a2, a3, (cocos2d::CCRect *)v9, a5);
}
}