// // PlayerObject::storeCollision from 0x622f6c to 0x623000 (148 bytes) // // 5 xrefs: // > PlayerObject::updateCollideBottom @ 0x623374 // > PlayerObject::updateCollideTop @ 0x6233d4 // > PlayerObject::updateCollideLeft @ 0x62342c // > PlayerObject::updateCollideRight @ 0x623494 // > @ 0xc3d08 // // 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::storeCollision(PlayerObject *a1, PlayerCollisionDirection a2, int a3) { cocos2d::CCDictionary *m_collisionLogTop; // x3 switch ( a2 ) { case 0: if ( a1->m_lastCollisionTop != a3 ) { a1->m_lastCollisionTop = a3; m_collisionLogTop = a1->m_collisionLogTop; goto LABEL_4; } break; case 1: if ( a1->m_lastCollisionBottom != a3 ) { m_collisionLogTop = a1->m_collisionLogBottom; a1->m_lastCollisionBottom = a3; if ( m_collisionLogTop ) goto LABEL_5; } break; case 2: if ( a1->m_lastCollisionLeft != a3 ) { m_collisionLogTop = a1->m_collisionLogLeft; a1->m_lastCollisionLeft = a3; goto LABEL_4; } break; case 3: if ( a1->m_lastCollisionRight != a3 ) { m_collisionLogTop = a1->m_collisionLogRight; a1->m_lastCollisionRight = a3; LABEL_4: if ( m_collisionLogTop ) LABEL_5: cocos2d::CCDictionary::setObject(m_collisionLogTop, a1->m_maybeLastGroundObject, a3); } break; default: return; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source