// // PauseLayer::onEdit from 0x3a8d54 to 0x3a8dfa (166 bytes) // // 2 xrefs: // > PauseLayer::onTryEdit @ 0x3a8e72 // > PauseLayer::FLAlert_Clicked @ 0x3a90a0 // // 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; // r0 cocos2d::CCDirector *v4; // r0 GameManager *v5; // r0 GameManager *v6; // r0 GameManager *v7; // r0 GameManager *v8; // r0 cocos2d::CCSequence *v9; // r6 cocos2d::CCFiniteTimeAction *v10; // r0 int v11; // r3 cocos2d::CCAction *v12; // r0 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); v12 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v9, v10, 0, v11, PauseLayer::goEdit, 0); cocos2d::CCNode::runAction(a1, v12); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source