// // GameManager::safePopScene from 0x1003bb4a8 to 0x1003bb50c (100 bytes) // // 4 xrefs: // > LevelInfoLayer::onBack @ 0x10002c37c // > sub_10005CB50 @ 0x10005cb78 // > LeaderboardsLayer::onBack @ 0x1004587c8 // > LevelBrowserLayer::onBack @ 0x10049a3e8 // // This function is hookable on this platform (idp: arm, 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:03:59 +0000 // __int64 GameManager::safePopScene() { __int64 v0; // x0 int v1; // w20 __int64 v2; // x0 __int64 v3; // x19 _DWORD *v4; // x0 char *v5; // x1 v0 = cocos2d::CCDirector::sharedDirector(); v1 = cocos2d::CCDirector::sceneCount(v0); v2 = cocos2d::CCDirector::sharedDirector(); v3 = v2; if ( v1 > 1 ) return cocos2d::CCDirector::popSceneWithTransition(v2, 0, 0.5); v4 = MenuLayer::scene(0); v5 = cocos2d::CCTransitionFade::create_1((__int64)v4, 0.5); return cocos2d::CCDirector::replaceScene(v3, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source