{"type": "func", "start": 4299066032, "end": 4299066140, "name": "EditorUI::reloadCustomItems", "pseudocode": "// \n// EditorUI::reloadCustomItems from 0x1003e8ab0 to 0x1003e8b1c (108 bytes)\n// \n// 4 xrefs:\n// > EditorUI::onNewCustomItem @ 0x1003e86fc\n// > EditorUI::onDeleteCustomItem @ 0x1003e8b54\n// > EditorUI::orderUpCustomItem @ 0x1003e8ba0\n// > EditorUI::orderDownCustomItem @ 0x1003e8c04\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 __fastcall EditorUI::reloadCustomItems(EditorUI *a1)\n{\n  GameManager *v2; // x0\n  int IntGameVariable; // w20\n  GameManager *v4; // x0\n  int v5; // w21\n  EditButtonBar *m_customTabBar; // x22\n  cocos2d::CCArray *CustomItems; // x1\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  CustomItems = EditorUI::createCustomItems(a1);\n  EditButtonBar::loadFromItems(m_customTabBar, CustomItems, IntGameVariable, v5, 1);\n}", "assembly": "; \n; EditorUI::reloadCustomItems from 0x1003e8ab0 to 0x1003e8b1c (108 bytes)\n; \n; 4 xrefs:\n; > EditorUI::onNewCustomItem @ 0x1003e86fc\n; > EditorUI::onDeleteCustomItem @ 0x1003e8b54\n; > EditorUI::orderUpCustomItem @ 0x1003e8ba0\n; > EditorUI::orderDownCustomItem @ 0x1003e8c04\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003e8ab0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003e8ab4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003e8ab8\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003e8abc\nMOV             X19, X0                                                ; +0x10, 0x1003e8ac0\nBL              GameManager__sharedState                               ; +0x14, 0x1003e8ac4\nADRL            X1, a0049; \"0049\"                                      ; +0x18, 0x1003e8ac8\nBL              GameManager__getIntGameVariable                        ; +0x20, 0x1003e8ad0\nMOV             X20, X0                                                ; +0x24, 0x1003e8ad4\nBL              GameManager__sharedState                               ; +0x28, 0x1003e8ad8\nADRL            X1, a0050; \"0050\"                                      ; +0x2c, 0x1003e8adc\nBL              GameManager__getIntGameVariable                        ; +0x34, 0x1003e8ae4\nMOV             X21, X0                                                ; +0x38, 0x1003e8ae8\nLDR             X22, [X19,#0x248]                                      ; +0x3c, 0x1003e8aec\nMOV             X0, X19                                                ; +0x40, 0x1003e8af0\nBL              EditorUI__createCustomItems                            ; +0x44, 0x1003e8af4\nMOV             X1, X0                                                 ; +0x48, 0x1003e8af8\nMOV             X0, X22                                                ; +0x4c, 0x1003e8afc\nMOV             X2, X20                                                ; +0x50, 0x1003e8b00\nMOV             X3, X21                                                ; +0x54, 0x1003e8b04\nMOV             W4, #1                                                 ; +0x58, 0x1003e8b08\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x5c, 0x1003e8b0c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x60, 0x1003e8b10\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x64, 0x1003e8b14\nB               EditButtonBar__loadFromItems                           ; +0x68, 0x1003e8b18", "xrefs": ["EditorUI::onNewCustomItem @ 0x1003e86fc", "EditorUI::onDeleteCustomItem @ 0x1003e8b54", "EditorUI::orderUpCustomItem @ 0x1003e8ba0", "EditorUI::orderDownCustomItem @ 0x1003e8c04"], "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"}