//
// EditorUI::reloadCustomItems from 0x10063c900 to 0x10063c96a (106 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:34:41 +0000
//
__int64 __fastcall EditorUI::reloadCustomItems(__int64 a1, double a2)
{
__int64 v2; // rax
unsigned int IntGameVariable; // r14d
__int64 v4; // rax
unsigned int v5; // r15d
__int64 v6; // r12
__int64 CustomItems; // rax
v2 = GameManager::sharedState();
IntGameVariable = GameManager::getIntGameVariable(v2, "0049");
v4 = GameManager::sharedState();
v5 = GameManager::getIntGameVariable(v4, "0050");
v6 = *(_QWORD *)(a1 + 624);
CustomItems = EditorUI::createCustomItems(a1, a2);
return EditButtonBar::loadFromItems(v6, CustomItems, IntGameVariable, v5, 1);
}