// // PlayLayer::resetLevelFromStart from 0x312f44 to 0x312f9a (86 bytes) // // 3 xrefs: // > PlayLayer::togglePracticeMode @ 0x314332 // > PlayLayer::fullReset @ 0x31441c // > PlayLayer::resumeAndRestart @ 0x31462c // // 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 PlayLayer::resetLevelFromStart(PlayLayer *a1) { GameManager *v2; // r0 bool GameVariable; // r6 GameManager *v4; // r0 FMODAudioEngine *v5; // r0 GameManager *v6; // r0 v2 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v2, "0146"); v4 = GameManager::sharedState(); GameManager::setGameVariable(v4, "0146", 1); a1->removeAllCheckpoints(a1); v5 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::stopAllMusic(v5, (bool)&dword_0 + 1); a1->m_freezeStartCamera = 1; a1->resetLevel(a1); v6 = GameManager::sharedState(); GameManager::setGameVariable(v6, "0146", GameVariable); }
GD Web Decomp Icon

GD Web Decomp

Raw Source