// // EditorUI::reloadCustomItems from 0x1400e4c90 to 0x1400e4d66 (214 bytes) // // 5 xrefs: // > EditorUI::onNewCustomItem @ 0x1400e44e1 // > EditorUI::onDeleteCustomItem @ 0x1400e4639 // > EditorUI::orderUpCustomItem @ 0x1400e46cc // > EditorUI::orderDownCustomItem @ 0x1400e475c // > @ 0x1406c8c94 // // 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 // // Hidden C++ exception states: #wind=2 void EditorUI::reloadCustomItems(EditorUI *a1) { GameManager *v2; // rcx int IntGameVariable; // esi GameManager *v4; // rcx int v5; // ebx cocos2d::CCArray *CustomItems; // rax void *v7; // [rsp+40h] [rbp+8h] void *v8; // [rsp+40h] [rbp+8h] v2 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v7 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v2 = (GameManager *)qword_1406C2ED8; } IntGameVariable = GameManager::getIntGameVariable(v2, "0049"); v4 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v8 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = (GameManager *)qword_1406C2ED8; } v5 = GameManager::getIntGameVariable(v4, "0050"); CustomItems = EditorUI::createCustomItems(a1); EditButtonBar::loadFromItems(a1->m_customTabBar, CustomItems, IntGameVariable, v5, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source