// // LevelBrowserLayer::show from 0x100419a30 to 0x100419aac (124 bytes) // // 3 xrefs: // > LevelInfoLayer::onAddToList @ 0x100029230 // > SetupSmartBlockLayer::onSelectTemplate @ 0x10006fefc // > SetupSmartTemplateLayer::onBack @ 0x100070e04 // // 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::show(LevelBrowserLayer *a1) { cocos2d::CCDirector *v2; // x0 cocos2d::CCScene *m_scene; // x20 int v4; // w2 v2 = cocos2d::CCDirector::sharedDirector(); m_scene = a1->m_scene; if ( m_scene ) { if ( !a1->m_zOffset ) LABEL_3: a1->m_zOffset = 105; } else { m_scene = v2->m_pRunningScene; if ( cocos2d::CCScene::getHighestChildZ(m_scene) < 105 ) v4 = 105; else v4 = cocos2d::CCScene::getHighestChildZ(m_scene) + 1; a1->m_zOffset = v4; if ( !v4 ) goto LABEL_3; } ((void (__fastcall *)(cocos2d::CCScene *, LevelBrowserLayer *))m_scene->addChild_0)(m_scene, a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source