// // PauseLayer::onEdit from 0x6c84e8 to 0x6c85c0 (216 bytes) // // 3 xrefs: // > PauseLayer::onTryEdit @ 0x6c86ac // > PauseLayer::FLAlert_Clicked @ 0x6c8b14 // > @ 0x827e8 // // 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 PauseLayer::onEdit(PauseLayer *a1, cocos2d::CCObject *a2) { GameManager *v3; // x0 cocos2d::CCDirector *v4; // x0 GameManager *v5; // x0 GameManager *v6; // x0 GameManager *v7; // x0 GameManager *v8; // x0 cocos2d::CCSequence *v9; // x20 cocos2d::CCFiniteTimeAction *v10; // x0 cocos2d::CCAction *v11; // x0 if ( GameManager::sharedState()->m_playLayer->m_level->m_levelType == Editor || (v3 = GameManager::sharedState(), v3->m_hasRP.random - v3->m_hasRP.seed > 0) ) { v4 = cocos2d::CCDirector::sharedDirector(); v4->getScheduler(v4)->m_fTimeScale = 1.0; v5 = GameManager::sharedState(); PlayLayer::stopRecording(v5->m_playLayer); v6 = GameManager::sharedState(); cocos2d::CCNode::stopAllActions(v6->m_playLayer); v7 = GameManager::sharedState(); cocos2d::CCNode::unscheduleAllSelectors(v7->m_playLayer); v8 = GameManager::sharedState(); GJBaseGameLayer::resetAudio(v8->m_playLayer); v9 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.0); v10 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, PauseLayer::goEdit, 0); v11 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v9, v10, 0); cocos2d::CCNode::runAction(a1, v11); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source