// // PlayLayer::resetLevelFromStart from 0x1000be2c0 to 0x1000be34c (140 bytes) // // 0 xrefs: // // 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; // rax bool GameVariable; // r15 GameManager *v4; // rax FMODAudioEngine *v5; // rax GameManager *v6; // rax 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