// // PlayLayer::pauseGame from 0x5d2644 to 0x5d275c (280 bytes) // // 3 xrefs: // > AppDelegate::pauseGame @ 0x5be2b0 // > UILayer::doPause @ 0x5c6bd8 // > @ 0x60a38 // // 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::pauseGame(PlayLayer *a1, bool a2) { cocos2d::CCNode *v4; // x0 PauseLayer *v5; // [xsp+38h] [xbp+38h] if ( PlayLayer::canPauseGame(a1) && !BYTE1(AppDelegate::get()->m_startupScriptFilename.m_data.m_data) ) { a1->applyTimeWarp(a1, 1.0); a1->m_isPaused = 1; a1->m_unk38b0 = 0.0; a1->m_unk38b8 = 0.0; a1->m_unk38c0 = 0.0; a1->m_pauseTime = PlayLayer::getTempMilliTime(a1); cocos2d::CCDirector::sharedDirector()->m_bSmoothFixCheck = 0; PlatformToolbox::showCursor(); GJBaseGameLayer::processQueuedButtons(a1, 0.0, 1); PlayerObject::releaseAllButtons(a1->m_player1); GJBaseGameLayer::pauseAudio(a1); GameManager::sharedState(); PlayerObject::releaseAllButtons(a1->m_player1); UILayer::resetAllButtons(a1->m_uiLayer); UILayer::toggleMenuVisibility(a1->m_uiLayer, 0); v5 = PauseLayer::create(a2); v4 = a1->getParent(a1); v4->addChild_0(v4, v5, 10); a1->onExit(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source