// // PlayerObject::storeCollision from 0x1004045a0 to 0x10040464e (174 bytes) // // 0 xrefs: // // 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::storeCollision(PlayerObject *a1, PlayerCollisionDirection a2, int a3) { cocos2d::CCDictionary *m_collisionLogTop; // rax switch ( a2 ) { case 0: if ( a1->m_lastCollisionTop != a3 ) { a1->m_lastCollisionTop = a3; m_collisionLogTop = a1->m_collisionLogTop; if ( m_collisionLogTop ) goto LABEL_13; } break; case 1: if ( a1->m_lastCollisionBottom != a3 ) { a1->m_lastCollisionBottom = a3; m_collisionLogTop = a1->m_collisionLogBottom; if ( m_collisionLogTop ) goto LABEL_13; } break; case 2: if ( a1->m_lastCollisionLeft != a3 ) { a1->m_lastCollisionLeft = a3; m_collisionLogTop = a1->m_collisionLogLeft; if ( m_collisionLogTop ) goto LABEL_13; } break; case 3: if ( a1->m_lastCollisionRight != a3 ) { a1->m_lastCollisionRight = a3; m_collisionLogTop = a1->m_collisionLogRight; if ( m_collisionLogTop ) LABEL_13: cocos2d::CCDictionary::setObject(m_collisionLogTop, a1->m_maybeLastGroundObject, a3); } break; default: return; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source