// // EditorUI::updateGroupIDLabel from 0x1003e5978 to 0x1003e5a80 (264 bytes) // // 9 xrefs: // > LevelEditorLayer::updateOptions @ 0x1003579e0 // > EditorUI::init @ 0x1003c6ca0 // > EditorUI::onGoToLayer @ 0x1003e5890 // > EditorUI::onGroupUp @ 0x1003e58fc // > EditorUI::onGroupDown @ 0x1003e5918 // > EditorUI::onGoToBaseLayer @ 0x1003e592c // > EditorUI::onLockLayer @ 0x1003e5968 // > EditorUI::showUI @ 0x1003ee5dc // > EditorUI::keyDown @ 0x1003fa1f8 // // 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 EditorUI::updateGroupIDLabel(EditorUI *a1) { cocos2d::CCString *v2; // x0 const char *CString; // x1 _BOOL8 isLayerLocked; // x20 if ( a1->m_editorLayer->m_currentLayer < 0 ) { CString = "All"; } else { v2 = (cocos2d::CCString *)sub_100268F4C("%i", a1->m_editorLayer->m_currentLayer); CString = cocos2d::CCString::getCString(v2); } ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_currentLayerLabel->setString)( a1->m_currentLayerLabel, CString); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_currentLayerLabel, 38.0, 0.6, 0.0); isLayerLocked = LevelEditorLayer::isLayerLocked(a1->m_editorLayer, a1->m_editorLayer->m_currentLayer); ((void (*)(void))a1->m_currentLayerLabel->setColor)(); ((void (__fastcall *)(cocos2d::CCSprite *, _BOOL8))a1->m_layerLockSprite->setVisible)( a1->m_layerLockSprite, isLayerLocked); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_goToBaseBtn->setVisible)( a1->m_goToBaseBtn, ((unsigned __int16)a1->m_editorLayer->m_currentLayer >> 15) ^ 1u); }