// // PauseLayer::onEdit from 0x1003d77f0 to 0x1003d78c8 (216 bytes) // // 3 xrefs: // > PauseLayer::onTryEdit @ 0x1003d71b1 // > PauseLayer::FLAlert_Clicked @ 0x1003d7a4c // > sub_1003D7A60 @ 0x1003d7ab2 // // 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 PauseLayer::onEdit(PauseLayer *a1, cocos2d::CCObject *a2) { GameManager *v2; // rax cocos2d::CCDirector *v3; // rax GameManager *v4; // rax GameManager *v5; // rax GameManager *v6; // rax GameManager *v7; // rax cocos2d::CCDelayTime *v8; // r14 cocos2d::CCCallFunc *v9; // rax cocos2d::CCSequence *v10; // rax if ( GameManager::sharedState()->m_playLayer->m_level->m_levelType == Editor || (v2 = GameManager::sharedState(), v2->m_hasRP.random > v2->m_hasRP.seed) ) { v3 = cocos2d::CCDirector::sharedDirector(); *(_DWORD *)(((__int64 (__fastcall *)(cocos2d::CCDirector *, cocos2d::CCObject *))v3->getScheduler)(v3, a2) + 56) = 1065353216; v4 = GameManager::sharedState(); PlayLayer::stopRecording(v4->m_playLayer); v5 = GameManager::sharedState(); cocos2d::CCNode::stopAllActions(v5->m_playLayer); v6 = GameManager::sharedState(); cocos2d::CCNode::unscheduleAllSelectors(v6->m_playLayer); v7 = GameManager::sharedState(); GJBaseGameLayer::resetAudio(v7->m_playLayer); v8 = cocos2d::CCDelayTime::create(0.0); v9 = cocos2d::CCCallFunc::create(a1, (cocos2d::SEL_CallFunc)(unsigned __int64)PauseLayer::goEdit); v10 = sub_1003B5760(v8, v9, 0); cocos2d::CCNode::runAction(a1, v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source