// // PlayLayer::resetLevelFromStart from 0x100121ae8 to 0x100121b78 (144 bytes) // // 3 xrefs: // > PlayLayer::fullReset @ 0x1001219a0 // > PlayLayer::togglePracticeMode @ 0x100121a9c // > PlayLayer::resumeAndRestart @ 0x100122a44 // // 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 PlayLayer::resetLevelFromStart(PlayLayer *a1) { GameManager *v2; // x0 bool GameVariable; // w21 GameManager *v4; // x0 FMODAudioEngine *v5; // x0 GameManager *v6; // x0 v2 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v2, "0146"); v4 = GameManager::sharedState(); GameManager::setGameVariable(v4, "0146", 1); ((void (__fastcall *)(PlayLayer *))a1->removeAllCheckpoints)(a1); v5 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::stopAllMusic(v5, 1); a1->m_freezeStartCamera = 1; ((void (__fastcall *)(PlayLayer *))a1->resetLevel)(a1); v6 = GameManager::sharedState(); GameManager::setGameVariable(v6, "0146", GameVariable); }
GD Web Decomp Icon

GD Web Decomp

Raw Source