// // CreatorLayer::onSavedLevels from 0x1000b5c78 to 0x1000b5d38 (192 bytes) // // 1 xrefs: // > CreatorLayer::init @ 0x1000b52ec // // 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 // void __fastcall CreatorLayer::onSavedLevels(CreatorLayer *a1, cocos2d::CCObject *a2) { SearchType v2; // w0 GJSearchObject *v3; // x19 GameManager *v4; // x0 GameManager *v5; // x0 GameManager *v6; // x0 GameManager *v7; // x0 int IntGameVariable; // w0 cocos2d::CCDirector *v9; // x20 cocos2d::CCScene *v10; // x0 cocos2d::CCTransitionFade *v11; // x1 if ( GameManager::sharedState()->m_savedSearchType == FavouriteLists ) v2 = FavouriteLists; else v2 = SavedLevels; v3 = GJSearchObject::create_2(v2); v4 = GameManager::sharedState(); if ( GameManager::getIntGameVariable(v4, "0092") <= 998 && (v5 = GameManager::sharedState(), GameManager::getIntGameVariable(v5, "0092") < 1) ) { IntGameVariable = 0; } else { v6 = GameManager::sharedState(); if ( GameManager::getIntGameVariable(v6, "0092") > 998 ) { IntGameVariable = 999; } else { v7 = GameManager::sharedState(); IntGameVariable = GameManager::getIntGameVariable(v7, "0092"); } } v3->m_folder = IntGameVariable; v9 = cocos2d::CCDirector::sharedDirector(); v10 = LevelBrowserLayer::scene(v3); v11 = cocos2d::CCTransitionFade::create_1(0.5, v10); cocos2d::CCDirector::pushScene(v9, v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source