//
// PlayerObject::collidedWithObject from 0x761134 to 0x7611f0 (188 bytes)
//
// 3 xrefs:
// > PlayerObject::collidedWithObject @ 0x76124c
// > PlayerObject::postCollision @ 0x761abc
// > ??> @ 0x9b518
//
// 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:53:04 +0000
//
__int64 __fastcall PlayerObject::collidedWithObject(
PlayerObject *a1,
GameObject *a2,
const cocos2d::CCRect *a3,
unsigned __int8 a4,
float a5)
{
_BYTE v10[16]; // [xsp+58h] [xbp+58h] BYREF
if ( *((_BYTE *)a1 + 2427) )
{
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v10, a3);
return (unsigned __int8)PlayerObject::handleRotatedObjectCollision(a1, a2, (const cocos2d::CCRect *)v10, a4, a5);
}
else
{
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v10, a3);
return (unsigned __int8)PlayerObject::collidedWithObjectInternal((__int64)a1, a2, (cocos2d::CCRect *)v10, a4, a5);
}
}