// // PlayerObject::resetCollisionLog from 0x622ef8 to 0x622f6c (116 bytes) // // 9 xrefs: // > PlayerObject::flipGravity @ 0x62e858 // > PlayerObject::rotateGameplay @ 0x630610 // > PlayerObject::spiderTestJumpInternal @ 0x6343e0 // > PlayerObject::spiderTestJumpInternal @ 0x634980 // > PlayerObject::spiderTestJumpY @ 0x636214 // > PlayerObject::spiderTestJumpX @ 0x636c70 // > GJBaseGameLayer::update @ 0x89de8c // > GJBaseGameLayer::update @ 0x89e328 // > @ 0x2de58 // // 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 PlayerObject::resetCollisionLog(PlayerObject *a1, bool a2) { _BOOL4 v3; // w20 int m_lastCollisionBottom; // w2 int m_lastCollisionTop; // w1 v3 = a2; 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 ( v3 ) { m_lastCollisionTop = -1; m_lastCollisionBottom = -1; } else { m_lastCollisionBottom = a1->m_lastCollisionBottom; m_lastCollisionTop = a1->m_lastCollisionTop; } a1->m_unk510 = m_lastCollisionTop; a1->m_unk50C = m_lastCollisionBottom; a1->m_lastCollisionBottom = -1; a1->m_lastCollisionTop = -1; a1->m_lastCollisionLeft = -1; a1->m_lastCollisionRight = -1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source