//
// EditorUI::recreateButtonTabs from 0x100031c40 to 0x100031ceb (171 bytes)
//
// 3 xrefs:
// > EditorPauseLayer::onResume @ 0x1002937f0
// > EditorPauseLayer::keyBackClicked @ 0x100294f90
// > sub_100294FA0 @ 0x10029500c
//
// 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 *v1; // rax
int IntGameVariable; // r14d
GameManager *v3; // rax
int v4; // r15d
unsigned int v5; // r12d
EditButtonBar *v6; // rax
a1->m_reloadItems = 0;
v1 = GameManager::sharedState();
IntGameVariable = GameManager::getIntGameVariable(v1, "0049");
v3 = GameManager::sharedState();
v4 = GameManager::getIntGameVariable(v3, "0050");
if ( (unsigned int)sub_100720070(a1->m_createButtonBars) )
{
v5 = 0;
do
{
v6 = (EditButtonBar *)sub_1007200C0(a1->m_createButtonBars, v5);
EditButtonBar::reloadItems(v6, IntGameVariable, v4);
++v5;
}
while ( v5 < (unsigned int)sub_100720070(a1->m_createButtonBars) );
}
EditButtonBar::reloadItems(a1->m_editButtonBar, IntGameVariable, v4);
}