{"type": "func", "start": 3703408, "end": 3703470, "name": "EditorUI::reloadCustomItems", "pseudocode": "// \n// EditorUI::reloadCustomItems from 0x388270 to 0x3882ae (62 bytes)\n// \n// 4 xrefs:\n// > EditorUI::onDeleteCustomItem @ 0x3882dc\n// > EditorUI::orderUpCustomItem @ 0x388308\n// > EditorUI::orderDownCustomItem @ 0x388344\n// > EditorUI::onNewCustomItem @ 0x3a67da\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorUI::reloadCustomItems(EditorUI *a1)\n{\n  GameManager *v2; // r0\n  int IntGameVariable; // r6\n  GameManager *v4; // r0\n  int v5; // r0\n  EditButtonBar *m_customTabBar; // r7\n  int v7; // r5\n  cocos2d::CCArray *CustomItems; // r0\n\n  v2 = GameManager::sharedState();\n  IntGameVariable = GameManager::getIntGameVariable(v2, \"0049\");\n  v4 = GameManager::sharedState();\n  v5 = GameManager::getIntGameVariable(v4, \"0050\");\n  m_customTabBar = a1->m_customTabBar;\n  v7 = v5;\n  CustomItems = EditorUI::createCustomItems(a1);\n  EditButtonBar::loadFromItems(m_customTabBar, CustomItems, IntGameVariable, v7, 1);\n}", "assembly": "; \n; EditorUI::reloadCustomItems from 0x388270 to 0x3882ae (62 bytes)\n; \n; 4 xrefs:\n; > EditorUI::onDeleteCustomItem @ 0x3882dc\n; > EditorUI::orderUpCustomItem @ 0x388308\n; > EditorUI::orderDownCustomItem @ 0x388344\n; > EditorUI::onNewCustomItem @ 0x3a67da\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R0-R2,R4-R7,LR}                                       ; +0x0, 0x388270\nMOV             R4, R0                                                 ; +0x2, 0x388272\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x388274\nLDR             R1, =(a0049 - 0x38827E); \"0049\"                        ; +0x8, 0x388278\nADD             R1, PC; \"0049\"                                         ; +0xa, 0x38827a\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0xc, 0x38827c\nMOV             R6, R0                                                 ; +0x10, 0x388280\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x12, 0x388282\nLDR             R1, =(a0050 - 0x38828C); \"0050\"                        ; +0x16, 0x388286\nADD             R1, PC; \"0050\"                                         ; +0x18, 0x388288\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x1a, 0x38828a\nLDR.W           R7, [R4,#0x1C0]                                        ; +0x1e, 0x38828e\nMOV             R5, R0                                                 ; +0x22, 0x388292\nMOV             R0, R4; this                                           ; +0x24, 0x388294\nBL              _ZN8EditorUI17createCustomItemsEv; EditorUI::createCustomItems(void) ; +0x26, 0x388296\nMOVS            R3, #1                                                 ; +0x2a, 0x38829a\nMOV             R2, R6; int                                            ; +0x2c, 0x38829c\nSTR             R3, [SP,#0xC+var_C]; bool                              ; +0x2e, 0x38829e\nMOV             R3, R5; int                                            ; +0x30, 0x3882a0\nMOV             R1, R0; cocos2d::CCArray *                             ; +0x32, 0x3882a2\nMOV             R0, R7; this                                           ; +0x34, 0x3882a4\nBL              _ZN13EditButtonBar13loadFromItemsEPN7cocos2d7CCArrayEiib; EditButtonBar::loadFromItems(cocos2d::CCArray *,int,int,bool) ; +0x36, 0x3882a6\nADD             SP, SP, #0xC                                           ; +0x3a, 0x3882aa\nPOP             {R4-R7,PC}                                             ; +0x3c, 0x3882ac", "xrefs": ["EditorUI::onDeleteCustomItem @ 0x3882dc", "EditorUI::orderUpCustomItem @ 0x388308", "EditorUI::orderDownCustomItem @ 0x388344", "EditorUI::onNewCustomItem @ 0x3a67da"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}