// // AppDelegate::pauseGame from 0x5be24c to 0x5be2b4 (104 bytes) // // 3 xrefs: // > AppDelegate::applicationWillResignActive @ 0x5be2b4 // > AppDelegate::applicationDidEnterBackground @ 0x5be328 // > @ 0x615f0 // // 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 AppDelegate::pauseGame(AppDelegate *a1) { cocos2d::CCScene *m_pRunningScene; // x0 GameManager *v2; // x0 m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene; if ( m_pRunningScene && m_pRunningScene->m_eObjType == PlayLayerObjectType && GameManager::sharedState()->m_playLayer && !GameManager::sharedState()->m_playLayer->m_hasCompletedLevel && !BYTE1(AppDelegate::get()->m_startupScriptFilename.m_data.m_data) ) { v2 = GameManager::sharedState(); PlayLayer::pauseGame(v2->m_playLayer, 1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source