// // LevelBrowserLayer::onLocalMode from 0x10048d4e0 to 0x10048d5ad (205 bytes) // // 1 xrefs: // > LevelBrowserLayer::init @ 0x10048c08f // // 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 LevelBrowserLayer::onLocalMode(LevelBrowserLayer *a1, cocos2d::CCObject *a2) { SearchType m_searchType; // r14d SearchType v3; // ebx GJSearchObject *v4; // rax GJSearchObject *v5; // rbx cocos2d::CCDirector *v6; // r14 cocos2d::CCScene *v7; // r15 LevelBrowserLayer *v8; // rax cocos2d::CCTransitionFade *v9; // rax if ( a1->m_searchObject ) { ((void (__fastcall *)(LevelBrowserLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(LevelBrowserLayer *, _QWORD))a1->setKeyboardEnabled)(a1, 0); m_searchType = a1->m_searchObject->m_searchType; v3 = 4 * (m_searchType == MyLevels) + 98; GameManager::sharedState()->m_localSearchType = v3; v4 = GJSearchObject::create_2(v3); v5 = v4; if ( m_searchType == MyLevels ) v4->m_searchMode = 1; v6 = cocos2d::CCDirector::sharedDirector(); v7 = cocos2d::CCScene::create(); AppDelegate::get()->m_runningScene = v7; v8 = LevelBrowserLayer::create(v5); ((void (__fastcall *)(cocos2d::CCScene *, LevelBrowserLayer *))v7->addChild)(v7, v8); v9 = cocos2d::CCTransitionFade::create_1(0.5, v7); cocos2d::CCDirector::replaceScene(v6, v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source