//
// PlayerObject::collidedWithSlope from 0x100220250 to 0x1002202f4 (164 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::collisionCheckObjects @ 0x1001e8af0
// > PlayerObject::postCollision @ 0x10021f7dc
//
// 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
//
void __fastcall PlayerObject::collidedWithSlope(PlayerObject *a1, float a2, GameObject *a3, bool a4)
{
_QWORD v8[2]; // [xsp+0h] [xbp-40h] BYREF
cocos2d::CCRect v9; // 0:s1.4,4:s2.4,8:s3.4,12:s4.4
if ( a1->m_isSideways )
{
sub_100022B98(v8, (__int64)&unk_10086CC00);
PlayerObject::handleRotatedCollisionInternal(a1, a2, a3, v9, (bool)v8, 0, a4);
}
else
{
PlayerObject::collidedWithSlopeInternal(a1, a2, a3, a4);
}
}