// // GJBaseGameLayer::enterDualMode from 0x85a8c0 to 0x85a958 (152 bytes) // // 2 xrefs: // > PlayLayer::loadFromCheckpoint @ 0x5e4ffc // > @ 0x4c3f8 // // 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 GJBaseGameLayer::enterDualMode(GJBaseGameLayer *a1, GameObject *a2, bool a3) { PlayerObject *m_player1; // x23 const cocos2d::CCPoint *v6; // x0 float v7; // s0 float v8; // s1 cocos2d::CCPoint v9; // [xsp+40h] [xbp+40h] BYREF if ( a2 ) { m_player1 = a1->m_player1; v6 = a2->getPosition(a2); cocos2d::CCPoint::CCPoint(&v9, v6); cocos2d::CCPoint::operator=(&m_player1->m_lastPortalPos, v7, v8); a1->m_player1->m_lastActivatedPortal = a2; a1->m_gameState.m_lastActivatedPortal1 = a2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source