// // GameManager::safePopScene from 0x5ee3bc to 0x5ee41c (96 bytes) // // 5 xrefs: // > LevelSearchLayer::onBack @ 0x6cea44 // > LevelInfoLayer::onBack @ 0x6d5a24 // > LevelBrowserLayer::onBack @ 0x6ed99c // > LeaderboardsLayer::onBack @ 0x81d87c // > @ 0x56460 // // 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 GameManager::safePopScene(GameManager *a1) { cocos2d::CCDirector *v1; // x0 cocos2d::CCDirector *v2; // x0 cocos2d::CCDirector *v4; // x19 cocos2d::CCScene *v5; // x0 cocos2d::CCTransitionFade *v6; // x0 v1 = cocos2d::CCDirector::sharedDirector(); if ( cocos2d::CCDirector::sceneCount(v1) <= 1 ) { v4 = cocos2d::CCDirector::sharedDirector(); v5 = MenuLayer::scene(0); v6 = cocos2d::CCTransitionFade::create(0.5, v5); return cocos2d::CCDirector::replaceScene(v4, v6); } else { v2 = cocos2d::CCDirector::sharedDirector(); return cocos2d::CCDirector::popSceneWithTransition(v2, 0.5, kPopTransitionFade); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source