// // GameManager::safePopScene from 0x140287680 to 0x1402876f3 (115 bytes) // // 8 xrefs: // > LeaderboardsLayer::onBack @ 0x1403dd3ef // > LevelBrowserLayer::onBack @ 0x1403e6cd9 // > LevelInfoLayer::onBack @ 0x1404265b0 // > LevelListLayer::onBack @ 0x14042f2fa // > LevelSearchLayer::onBack @ 0x14043a350 // > @ 0x1408ae9e8 // > @ 0x1408ae9f8 // > @ 0x14091d12c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:29:02 +0000 // char __fastcall GameManager::safePopScene(__int64 a1) { cocos2d::CCDirector *v1; // rax __int64 v2; // rcx struct cocos2d::CCScene *v3; // rax struct cocos2d::CCScene *v4; // rbx __int64 v5; // rcx cocos2d::CCDirector *v6; // rax __int64 v8; // rax __int64 v9; // rdx v1 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(a1); if ( (int)cocos2d::CCDirector::sceneCount(v1) > 1 ) { v8 = cocos2d::CCDirector::sharedDirector(v2); return cocos2d::CCDirector::popSceneWithTransition(v8, v9, 0); } else { v3 = (struct cocos2d::CCScene *)MenuLayer::scene(0); v4 = cocos2d::CCTransitionFade::create(0.5, v3); v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5); return cocos2d::CCDirector::replaceScene(v6, v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source