//
// PlayerObject::collidedWithObject from 0x1002bcda8 to 0x1002bce54 (172 bytes)
//
// 2 xrefs:
// > PlayerObject::postCollision @ 0x1002bc2a4
// > PlayerObject::collidedWithObject_1 @ 0x1002c10c4
//
// 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 11:02:27 +0000
//
__int64 __fastcall PlayerObject::collidedWithObject(__int64 a1, __int64 a2, __int64 a3, __int64 a4, float a5)
{
_QWORD v10[2]; // [xsp+0h] [xbp-50h] BYREF
_QWORD v11[2]; // [xsp+10h] [xbp-40h] BYREF
if ( *(_BYTE *)(a1 + 2427) == 1 )
{
sub_1000264D4(v10, a3);
sub_1000264D4(v11, (__int64)v10);
return PlayerObject::handleRotatedCollisionInternal(a1, a2, v11, a4, 0, 0, a5);
}
else
{
sub_1000264D4(v11, a3);
return PlayerObject::collidedWithObjectInternal(a1, a2, v11, a4, a5);
}
}