{"type": "func", "start": 12451316, "end": 12451424, "name": "EditorUI::reloadCustomItems", "pseudocode": "// \n// EditorUI::reloadCustomItems from 0xbdfdf4 to 0xbdfe60 (108 bytes)\n// \n// 5 xrefs:\n// > EditorUI::onDeleteCustomItem @ 0xbdfea0\n// > EditorUI::orderUpCustomItem @ 0xbdfeec\n// > EditorUI::orderDownCustomItem @ 0xbdff50\n// > EditorUI::onNewCustomItem @ 0xbe014c\n// > <???> @ 0xad428\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:03:45 +0000\n// \n\n__int64 __fastcall EditorUI::reloadCustomItems(EditButtonBar **this)\n{\n  GameManager *v2; // x0\n  GameManager *IntGameVariable; // x0\n  GameManager *v4; // x0\n  int v5; // w0\n  EditButtonBar *v6; // x20\n  GameManager *CustomItems; // x0\n  int v9; // [xsp+20h] [xbp+20h]\n  int v10; // [xsp+28h] [xbp+28h]\n\n  v2 = (GameManager *)GameManager::sharedState((GameManager *)this);\n  IntGameVariable = (GameManager *)GameManager::getIntGameVariable(v2, \"0049\");\n  v9 = (int)IntGameVariable;\n  v4 = (GameManager *)GameManager::sharedState(IntGameVariable);\n  v5 = GameManager::getIntGameVariable(v4, \"0050\");\n  v6 = *(this + 78);\n  v10 = v5;\n  CustomItems = EditorUI::createCustomItems(this);\n  return EditButtonBar::loadFromItems(v6, CustomItems, v9, v10, 1u);\n}", "assembly": "; \n; EditorUI::reloadCustomItems from 0xbdfdf4 to 0xbdfe60 (108 bytes)\n; \n; 5 xrefs:\n; > EditorUI::onDeleteCustomItem @ 0xbdfea0\n; > EditorUI::orderUpCustomItem @ 0xbdfeec\n; > EditorUI::orderDownCustomItem @ 0xbdff50\n; > EditorUI::onNewCustomItem @ 0xbe014c\n; > <???> @ 0xad428\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:03:45 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xbdfdf4\nMOV             X29, SP                                                ; +0x4, 0xbdfdf8\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xbdfdfc\nMOV             X19, X0                                                ; +0xc, 0xbdfe00\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x10, 0xbdfe04\nADRL            X1, a0049; \"0049\"                                      ; +0x14, 0xbdfe08\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x1c, 0xbdfe10\nMOV             W2, W0                                                 ; +0x20, 0xbdfe14\nSTR             X2, [X29,#0x30+var_10]                                 ; +0x24, 0xbdfe18\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x28, 0xbdfe1c\nADRL            X1, a0050; \"0050\"                                      ; +0x2c, 0xbdfe20\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x34, 0xbdfe28\nMOV             W3, W0                                                 ; +0x38, 0xbdfe2c\nMOV             X0, X19; this                                          ; +0x3c, 0xbdfe30\nLDR             X20, [X19,#0x270]                                      ; +0x40, 0xbdfe34\nSTR             X3, [X29,#0x30+var_8]                                  ; +0x44, 0xbdfe38\nBL              _ZN8EditorUI17createCustomItemsEv; EditorUI::createCustomItems(void) ; +0x48, 0xbdfe3c\nMOV             X1, X0; cocos2d::CCArray *                             ; +0x4c, 0xbdfe40\nLDR             X2, [X29,#0x30+var_10]; int                            ; +0x50, 0xbdfe44\nMOV             X0, X20; this                                          ; +0x54, 0xbdfe48\nLDR             X3, [X29,#0x30+var_8]; int                             ; +0x58, 0xbdfe4c\nMOV             W4, #1; bool                                           ; +0x5c, 0xbdfe50\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x60, 0xbdfe54\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x64, 0xbdfe58\nB               _ZN13EditButtonBar13loadFromItemsEPN7cocos2d7CCArrayEiib; EditButtonBar::loadFromItems(cocos2d::CCArray *,int,int,bool) ; +0x68, 0xbdfe5c", "xrefs": ["EditorUI::onDeleteCustomItem @ 0xbdfea0", "EditorUI::orderUpCustomItem @ 0xbdfeec", "EditorUI::orderDownCustomItem @ 0xbdff50", "EditorUI::onNewCustomItem @ 0xbe014c", "<???> @ 0xad428"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}