// // LevelBrowserLayer::onLocalMode from 0x3bd4f0 to 0x3bd55e (110 bytes) // // 0 xrefs: // // 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 LevelBrowserLayer::onLocalMode(LevelBrowserLayer *a1, cocos2d::CCObject *a2) { GJSearchObject *v3; // r4 SearchType v4; // r1 GJSearchObject *v5; // r0 GJSearchObject *v6; // r5 cocos2d::CCDirector *v7; // r4 cocos2d::CCScene *v8; // r0 cocos2d::CCTransitionFade *v9; // r1 if ( a1->m_searchObject ) { a1->setKeypadEnabled(a1, 0); a1->setKeyboardEnabled(a1, 0); if ( a1->m_searchObject->m_searchType == MyLevels ) v3 = (GJSearchObject *)(&dword_64 + 2); else v3 = (GJSearchObject *)(&dword_60 + 2); GameManager::sharedState()->m_localSearchType = (SearchType)v3; v5 = (GJSearchObject *)GJSearchObject::create(v3, v4); if ( v3 == (GJSearchObject *)((char *)&dword_64 + 2) ) v5->m_searchMode = 1; v6 = v5; v7 = cocos2d::CCDirector::sharedDirector(); v8 = LevelBrowserLayer::scene(v6); v9 = cocos2d::CCTransitionFade::create(0.5, v8); cocos2d::CCDirector::replaceScene(v7, v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source