// // GJBaseGameLayer::updateDualGround from 0x87fe8c to 0x87ff48 (188 bytes) // // 8 xrefs: // > PlayLayer::loadFromCheckpoint @ 0x5e4e98 // > GJBaseGameLayer::updateCameraMode @ 0x87ffc8 // > GJBaseGameLayer::updateZoom @ 0x8800f4 // > GJBaseGameLayer::exitStaticCamera @ 0x880520 // > GJBaseGameLayer::playerWillSwitchMode @ 0x88a1c0 // > GJBaseGameLayer::toggleDualMode @ 0x88a434 // > GJBaseGameLayer::setupLevelStart @ 0x88a680 // > @ 0xabff0 // // 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::updateDualGround(GJBaseGameLayer *a1, PlayerObject *a2, int a3, bool a4, float a5) { GameObject *m_lastActivatedPortal1; // x22 float GroundHeight; // s0 if ( !a1->m_gameState.m_isDualMode || (m_lastActivatedPortal1 = a1->m_gameState.m_lastActivatedPortal2) == nullptr ) m_lastActivatedPortal1 = a1->m_gameState.m_lastActivatedPortal1; if ( (unsigned int)(a3 - 23) > 1 ) a1->m_gameState.m_dualRelated = a3; GroundHeight = GJBaseGameLayer::getGroundHeight(a1, a2, a3); if ( !a1->m_gameState.m_isFreeMode && (GroundHeight != 270.0 || a3 == 33 || a1->m_gameState.m_isDualMode) ) GJBaseGameLayer::animateInDualGroundNew(a1, m_lastActivatedPortal1, GroundHeight, a4, a5); else GJBaseGameLayer::animateOutGroundNew(a1, a4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source