// // PlayerObject::storeCollision from 0x33d3da to 0x33d43a (96 bytes) // // 4 xrefs: // > PlayerObject::updateCollideBottom @ 0x33d72a // > PlayerObject::updateCollideTop @ 0x33d77e // > PlayerObject::updateCollideLeft @ 0x33d7c4 // > PlayerObject::updateCollideRight @ 0x33d814 // // 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; // r0 switch ( a2 ) { case 0: if ( a3 != a1->m_lastCollisionTop ) { a1->m_lastCollisionTop = a3; m_collisionLogTop = a1->m_collisionLogTop; goto LABEL_10; } break; case 1: if ( a3 != a1->m_lastCollisionBottom ) { a1->m_lastCollisionBottom = a3; m_collisionLogTop = a1->m_collisionLogBottom; goto LABEL_10; } break; case 2: if ( a3 != a1->m_lastCollisionLeft ) { a1->m_lastCollisionLeft = a3; m_collisionLogTop = a1->m_collisionLogLeft; goto LABEL_10; } break; case 3: if ( a3 != a1->m_lastCollisionRight ) { m_collisionLogTop = a1->m_collisionLogRight; a1->m_lastCollisionRight = a3; LABEL_10: if ( m_collisionLogTop ) cocos2d::CCDictionary::setObject(m_collisionLogTop, a1->m_maybeLastGroundObject, a3); } break; default: return; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source