//
// PlayerObject::resetCollisionLog from 0x100404530 to 0x100404597 (103 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::update @ 0x100151ede
// > GJBaseGameLayer::update @ 0x100151ef5
//
// 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 v2; // xmm1_8
cocos2d::CCDictionary::removeAllObjects(a1->m_collisionLogTop);
cocos2d::CCDictionary::removeAllObjects(a1->m_collisionLogBottom);
cocos2d::CCDictionary::removeAllObjects(a1->m_collisionLogLeft);
cocos2d::CCDictionary::removeAllObjects(a1->m_collisionLogRight);
v2 = -1;
if ( !a2 )
v2 = *(_QWORD *)&a1->m_lastCollisionBottom;
*(_QWORD *)&a1->m_unk50C = v2;
*(_OWORD *)&a1->m_lastCollisionBottom = -1;
}