// // GJBaseGameLayer::switchToRobotMode from 0x859d54 to 0x859dc0 (108 bytes) // // 5 xrefs: // > PlayerObject::loadFromCheckpoint @ 0x63b7f0 // > GJBaseGameLayer::setupLevelStart @ 0x88a80c // > GJBaseGameLayer::setupLevelStart @ 0x88a828 // > GJBaseGameLayer::collisionCheckObjects @ 0x88bf7c // > @ 0x6ca38 // // 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::switchToRobotMode(GJBaseGameLayer *a1, PlayerObject *a2, GameObject *a3, bool a4) { GameObject *v6; // x0 bool m_hasNoEffects; // w2 PlayerObject *v8; // x0 PlayerObject::switchedToMode(a2, RobotPortal); v6 = GJBaseGameLayer::processCameraObject(a1, a3, a2); if ( v6 ) { m_hasNoEffects = v6->m_hasNoEffects; v8 = a2; } else { v8 = a2; m_hasNoEffects = 0; } PlayerObject::toggleRobotMode(v8, 1, m_hasNoEffects); }
GD Web Decomp Icon

GD Web Decomp

Raw Source