// // GameManager::safePopScene from 0x10038c280 to 0x10038c2e1 (97 bytes) // // 8 xrefs: // > LevelInfoLayer::onBack @ 0x1002c234b // > LevelBrowserLayer::onBack @ 0x100491101 // > LeaderboardsLayer::onBack @ 0x1005136c1 // > LeaderboardsLayer::keyBackClicked @ 0x100514221 // > sub_100514230 @ 0x10051427b // > LevelSearchLayer::onBack @ 0x10062b553 // > LevelSearchLayer::keyBackClicked @ 0x10062c9d3 // > sub_10062CA00 @ 0x10062ca20 // // 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 // bool __fastcall GameManager::safePopScene(GameManager *a1) { cocos2d::CCDirector *v1; // rax int v2; // r14d cocos2d::CCDirector *v3; // rax cocos2d::CCDirector *v4; // rbx cocos2d::CCScene *v5; // rax cocos2d::CCTransitionFade *v6; // rax v1 = cocos2d::CCDirector::sharedDirector(); v2 = cocos2d::CCDirector::sceneCount(v1); v3 = cocos2d::CCDirector::sharedDirector(); v4 = v3; if ( v2 > 1 ) return cocos2d::CCDirector::popSceneWithTransition(v3, 0.5, kPopTransitionFade); v5 = MenuLayer::scene(0); v6 = cocos2d::CCTransitionFade::create_1(0.5, v5); return cocos2d::CCDirector::replaceScene(v4, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source