//
// EditorUI::recreateButtonTabs from 0x6878dc to 0x68796c (144 bytes)
//
// 2 xrefs:
// > EditorPauseLayer::onResume @ 0x78af10
// > ??> @ 0x9d620
//
// 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 EditorUI::recreateButtonTabs(EditorUI *a1)
{
unsigned int v2; // w19
GameManager *v3; // x0
int IntGameVariable; // w22
GameManager *v5; // x0
int i; // w21
EditButtonBar *v7; // x0
bool v8; // cf
unsigned int v9; // w1
a1->m_reloadItems = 0;
v2 = 0;
v3 = GameManager::sharedState();
IntGameVariable = GameManager::getIntGameVariable(v3, "0049");
v5 = GameManager::sharedState();
for ( i = GameManager::getIntGameVariable(v5, "0050"); ; EditButtonBar::reloadItems(v7, IntGameVariable, i) )
{
v8 = v2 >= (unsigned int)cocos2d::CCArray::count(a1->m_createButtonBars);
v9 = v2++;
if ( v8 )
break;
v7 = (EditButtonBar *)cocos2d::CCArray::objectAtIndex(a1->m_createButtonBars, v9);
}
EditButtonBar::reloadItems(a1->m_editButtonBar, IntGameVariable, i);
}