//
// PlayerObject::collidedWithObject from 0x1004067d0 to 0x10040686a (154 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
//
// local variable allocation has failed, the output may be wrong!
bool __fastcall PlayerObject::collidedWithObject(
PlayerObject *a1,
float a2,
GameObject *a3,
cocos2d::CCRect a4,
bool a5)
{
bool v5; // cl
bool v6; // r14
__m128 v8; // [rsp+4h] [rbp-4Ch] BYREF
__m128 v9; // [rsp+14h] [rbp-3Ch] BYREF
float v10; // [rsp+24h] [rbp-2Ch]
v6 = v5;
v10 = a2;
if ( a1->m_isSideways )
{
sub_10028D180(&v8, (unsigned __int64 *)a5);
sub_10028D180(&v9, (unsigned __int64 *)&v8);
return PlayerObject::handleRotatedCollisionInternal(a1, v10, a3, a4, (bool)&v9, v6, 0);
}
else
{
sub_10028D180(&v9, (unsigned __int64 *)a5);
return PlayerObject::collidedWithObjectInternal(a1, v10, a3, a4, (bool)&v9);
}
}