//
// PlayerObject::resetCollisionLog from 0x10021e8f8 to 0x10021e958 (96 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::update @ 0x1001fea04
// > GJBaseGameLayer::update @ 0x1001fea1c
// > PlayerObject::flipGravity @ 0x10021e1e8
// > PlayerObject::spiderTestJumpInternal @ 0x1002254f4
// > PlayerObject::rotateGameplay @ 0x100226d7c
//
// 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::resetCollisionLog(PlayerObject *a1, bool a2)
{
__int64 v4; // d0
cocos2d::CCDictionary::removeAllObjects(a1->m_collisionLogTop);
cocos2d::CCDictionary::removeAllObjects(a1->m_collisionLogBottom);
cocos2d::CCDictionary::removeAllObjects(a1->m_collisionLogLeft);
cocos2d::CCDictionary::removeAllObjects(a1->m_collisionLogRight);
if ( a2 )
v4 = -1;
else
v4 = *(_QWORD *)&a1->m_lastCollisionBottom;
*(_QWORD *)&a1->m_unk50C = v4;
*(_QWORD *)&a1->m_lastCollisionBottom = -1;
*(_QWORD *)&a1->m_lastCollisionLeft = -1;
}