// // GameManager::safePopScene from 0x414e7c to 0x414ebe (66 bytes) // // 4 xrefs: // > LevelSearchLayer::onBack @ 0x4952c8 // > LevelInfoLayer::onBack @ 0x499f46 // > LevelBrowserLayer::onBack @ 0x4a4d3c // > LeaderboardsLayer::onBack @ 0x562fb6 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:47:39 +0000 // int __fastcall GameManager::safePopScene(GameManager *this) { cocos2d::CCDirector *v1; // r0 cocos2d::CCDirector *v2; // r0 cocos2d::CCDirector *v3; // r4 bool v4; // r1 int v5; // r2 AppDelegate *v6; // r0 cocos2d::CCScene *v7; // r2 cocos2d::CCScene *v8; // r1 int v10; // r0 v1 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(this); v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sceneCount(v1); if ( (int)v2 > 1 ) { v10 = cocos2d::CCDirector::sharedDirector(v2); return cocos2d::CCDirector::popSceneWithTransition(v10, 1056964608, 0); } else { v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v2); v6 = MenuLayer::scene(nullptr, v4, v5); v8 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create( (cocos2d::CCTransitionFade *)0x3F000000, *(float *)&v6, v7); return cocos2d::CCDirector::replaceScene(v3, v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source