// // LevelBrowserLayer::show from 0x100491e40 to 0x100491ebb (123 bytes) // // 7 xrefs: // > LevelInfoLayer::onAddToList @ 0x1002c2a89 // > SetupSmartBlockLayer::onSelectTemplate @ 0x1004e6ee1 // > SetupSmartTemplateLayer::onBack @ 0x1004e8466 // > SetupSmartTemplateLayer::FLAlert_Clicked @ 0x1004e8811 // > sub_1004E8820 @ 0x1004e8885 // > SetupSmartTemplateLayer::keyBackClicked @ 0x1004e8ad6 // > sub_1004E8AE0 @ 0x1004e8b0d // // 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 *v1; // rax cocos2d::CCScene *m_scene; // r14 int HighestChildZ; // eax int v4; // edx v1 = cocos2d::CCDirector::sharedDirector(); m_scene = a1->m_scene; if ( m_scene ) { if ( !a1->m_zOffset ) LABEL_3: a1->m_zOffset = 105; } else { m_scene = v1->m_pRunningScene; HighestChildZ = cocos2d::CCScene::getHighestChildZ(m_scene); v4 = 105; if ( HighestChildZ >= 105 ) 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