// // PlayLayer::onQuit from 0x1000b2f30 to 0x1000b2fd4 (164 bytes) // // 6 xrefs: // > PlayLayer::setupHasCompleted @ 0x1000ae9c0 // > PlayLayer::levelComplete @ 0x1000b3907 // > PauseLayer::onQuit @ 0x1003d7995 // > EndLevelLayer::onMenu @ 0x1004c1fbf // > RetryLevelLayer::onMenu @ 0x1004f90c8 // > PlayLayer::setupHasCompleted @ 0x1000ae8c0 // // 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::onQuit(PlayLayer *a1) { cocos2d::CCDirector *v1; // rax GameManager *v2; // rax FMODAudioEngine *v3; // rax GameManager *v4; // rax GameManager *v5; // rax v1 = cocos2d::CCDirector::sharedDirector(); *(_DWORD *)(((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getScheduler)(v1) + 56) = 1065353216; cocos2d::CCDirector::sharedDirector()->m_bSmoothFixCheck = 0; v2 = GameManager::sharedState(); GameManager::didExitPlayscene(v2); PlatformToolbox::showCursor(); UILayer::disableMenu(a1->m_uiLayer); cocos2d::CCNode::stopActionByTag(a1, 31); cocos2d::CCNode::stopAllActions(a1); cocos2d::CCNode::unscheduleAllSelectors(a1); GJBaseGameLayer::resetAudio(a1); v3 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::unloadAllEffects(v3); v4 = GameManager::sharedState(); GameManager::returnToLastScene(v4, a1->m_level); v5 = GameManager::sharedState(); GameManager::fadeInMenuMusic(v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source