//
// EditorUI::reloadCustomItems from 0x100031400 to 0x10003146a (106 bytes)
//
// 0 xrefs:
//
// 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::reloadCustomItems(EditorUI *a1)
{
GameManager *v1; // rax
int IntGameVariable; // r14d
GameManager *v3; // rax
int v4; // r15d
EditButtonBar *m_customTabBar; // r12
cocos2d::CCArray *CustomItems; // rax
v1 = GameManager::sharedState();
IntGameVariable = GameManager::getIntGameVariable(v1, "0049");
v3 = GameManager::sharedState();
v4 = GameManager::getIntGameVariable(v3, "0050");
m_customTabBar = a1->m_customTabBar;
CustomItems = EditorUI::createCustomItems(a1);
EditButtonBar::loadFromItems(m_customTabBar, CustomItems, IntGameVariable, v4, 1);
}