// // CreatorLayer::onMyLevels from 0x1000b6350 to 0x1000b6418 (200 bytes) // // 1 xrefs: // > CreatorLayer::init @ 0x1000b5540 // // 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::onMyLevels(CreatorLayer *a1, cocos2d::CCObject *a2) { SearchType m_localSearchType; // w20 SearchType v3; // w0 GJSearchObject *v4; // x19 GameManager *v5; // x0 GameManager *v6; // x0 GameManager *v7; // x0 GameManager *v8; // x0 int IntGameVariable; // w0 cocos2d::CCDirector *v10; // x20 cocos2d::CCScene *v11; // x0 cocos2d::CCTransitionFade *v12; // x1 m_localSearchType = GameManager::sharedState()->m_localSearchType; if ( m_localSearchType == MyLists ) v3 = MyLists; else v3 = MyLevels; v4 = GJSearchObject::create_2(v3); if ( m_localSearchType != MyLists ) { v5 = GameManager::sharedState(); if ( GameManager::getIntGameVariable(v5, "0091") <= 998 && (v6 = GameManager::sharedState(), GameManager::getIntGameVariable(v6, "0091") < 1) ) { IntGameVariable = 0; } else { v7 = GameManager::sharedState(); if ( GameManager::getIntGameVariable(v7, "0091") > 998 ) { IntGameVariable = 999; } else { v8 = GameManager::sharedState(); IntGameVariable = GameManager::getIntGameVariable(v8, "0091"); } } v4->m_folder = IntGameVariable; } v10 = cocos2d::CCDirector::sharedDirector(); v11 = LevelBrowserLayer::scene(v4); v12 = cocos2d::CCTransitionFade::create_1(0.5, v11); cocos2d::CCDirector::pushScene(v10, v12); }