// // EditorUI::recreateButtonTabs from 0x1003e90b0 to 0x1003e9148 (152 bytes) // // 1 xrefs: // > EditorPauseLayer::onResume @ 0x10039daf0 // // 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::recreateButtonTabs(EditorUI *a1) { GameManager *v2; // x0 int IntGameVariable; // w20 GameManager *v4; // x0 int v5; // w21 unsigned int v6; // w22 EditButtonBar *v7; // x0 a1->m_reloadItems = 0; v2 = GameManager::sharedState(); IntGameVariable = GameManager::getIntGameVariable(v2, "0049"); v4 = GameManager::sharedState(); v5 = GameManager::getIntGameVariable(v4, "0050"); if ( (unsigned int)sub_10024A36C((__int64)a1->m_createButtonBars) ) { v6 = 0; do { v7 = (EditButtonBar *)sub_10024A388((__int64)a1->m_createButtonBars, v6); EditButtonBar::reloadItems(v7, IntGameVariable, v5); ++v6; } while ( v6 < (unsigned int)sub_10024A36C((__int64)a1->m_createButtonBars) ); } EditButtonBar::reloadItems(a1->m_editButtonBar, IntGameVariable, v5); }