// // PlayLayer::onQuit from 0x5d0838 to 0x5d08c0 (136 bytes) // // 9 xrefs: // > PlayLayer::levelComplete @ 0x5d0fe4 // > PlayLayer::postUpdate @ 0x5dc260 // > PlayLayer::setupHasCompleted @ 0x5dcdb0 // > PauseLayer::onQuit @ 0x6c8788 // > EndLevelLayer::onMenu @ 0x7d3244 // > RetryLevelLayer::onMenu @ 0x7ed7f4 // > @ 0x89f40 // > PlayLayer::setupHasCompleted @ 0x5dccac // > @ 0x122cb10 // // 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::onQuit(PlayLayer *a1) { cocos2d::CCDirector *v2; // x0 GameManager *v3; // x0 FMODAudioEngine *v4; // x0 GameManager *v5; // x0 GameManager *v6; // x0 v2 = cocos2d::CCDirector::sharedDirector(); v2->getScheduler(v2)->m_fTimeScale = 1.0; cocos2d::CCDirector::sharedDirector()->m_bSmoothFixCheck = 0; v3 = GameManager::sharedState(); GameManager::didExitPlayscene(v3); PlatformToolbox::showCursor(); UILayer::disableMenu(a1->m_uiLayer); PlayLayer::stopRecording(a1); cocos2d::CCNode::stopAllActions(a1); cocos2d::CCNode::unscheduleAllSelectors(a1); GJBaseGameLayer::resetAudio(a1); v4 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::unloadAllEffects(v4); v5 = GameManager::sharedState(); GameManager::returnToLastScene(v5, a1->m_level); v6 = GameManager::sharedState(); GameManager::fadeInMenuMusic(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source