// // LevelBrowserLayer::onLocalMode from 0x100416384 to 0x10041642c (168 bytes) // // 1 xrefs: // > LevelBrowserLayer::init @ 0x100415278 // // 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; // w20 SearchType v4; // w19 GJSearchObject *v5; // x0 GJSearchObject *v6; // x19 cocos2d::CCDirector *v7; // x20 cocos2d::CCScene *v8; // x0 cocos2d::CCTransitionFade *v9; // x1 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; if ( m_searchType == MyLevels ) v4 = MyLists; else v4 = MyLevels; GameManager::sharedState()->m_localSearchType = v4; v5 = GJSearchObject::create_2(v4); v6 = v5; if ( m_searchType == MyLevels ) v5->m_searchMode = 1; v7 = cocos2d::CCDirector::sharedDirector(); v8 = LevelBrowserLayer::scene(v6); v9 = cocos2d::CCTransitionFade::create_1(0.5, v8); cocos2d::CCDirector::replaceScene(v7, v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source