{"type": "func", "start": 7301132, "end": 7301194, "name": "EditorUI::reloadCustomItems", "pseudocode": "// \n// EditorUI::reloadCustomItems from 0x6f680c to 0x6f684a (62 bytes)\n// \n// 4 xrefs:\n// > EditorUI::onDeleteCustomItem @ 0x6f6878\n// > EditorUI::orderUpCustomItem @ 0x6f68a4\n// > EditorUI::orderDownCustomItem @ 0x6f68e0\n// > EditorUI::onNewCustomItem @ 0x6f6aea\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:57:39 +0000\n// \n\nint __fastcall EditorUI::reloadCustomItems(EditButtonBar **this)\n{\n  GameManager *v2; // r0\n  GameManager *IntGameVariable; // r6\n  GameManager *v4; // r0\n  int v5; // r0\n  EditButtonBar *v6; // r7\n  int v7; // r5\n  GameManager *CustomItems; // r0\n\n  v2 = (GameManager *)GameManager::sharedState((GameManager *)this);\n  IntGameVariable = (GameManager *)GameManager::getIntGameVariable(v2, \"0049\");\n  v4 = (GameManager *)GameManager::sharedState(IntGameVariable);\n  v5 = GameManager::getIntGameVariable(v4, \"0050\");\n  v6 = *(this + 115);\n  v7 = v5;\n  CustomItems = EditorUI::createCustomItems(this);\n  return EditButtonBar::loadFromItems(v6, CustomItems, (int)IntGameVariable, v7, 1);\n}", "assembly": "; \n; EditorUI::reloadCustomItems from 0x6f680c to 0x6f684a (62 bytes)\n; \n; 4 xrefs:\n; > EditorUI::onDeleteCustomItem @ 0x6f6878\n; > EditorUI::orderUpCustomItem @ 0x6f68a4\n; > EditorUI::orderDownCustomItem @ 0x6f68e0\n; > EditorUI::onNewCustomItem @ 0x6f6aea\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:57:39 +0000\n; \nPUSH            {R0-R2,R4-R7,LR}                                       ; +0x0, 0x6f680c\nMOV             R4, R0                                                 ; +0x2, 0x6f680e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x6f6810\nLDR             R1, =(a0049 - 0x6F681A); \"0049\"                        ; +0x8, 0x6f6814\nADD             R1, PC; \"0049\"                                         ; +0xa, 0x6f6816\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0xc, 0x6f6818\nMOV             R6, R0                                                 ; +0x10, 0x6f681c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x12, 0x6f681e\nLDR             R1, =(a0050 - 0x6F6828); \"0050\"                        ; +0x16, 0x6f6822\nADD             R1, PC; \"0050\"                                         ; +0x18, 0x6f6824\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x1a, 0x6f6826\nLDR.W           R7, [R4,#0x1CC]                                        ; +0x1e, 0x6f682a\nMOV             R5, R0                                                 ; +0x22, 0x6f682e\nMOV             R0, R4; this                                           ; +0x24, 0x6f6830\nBL              _ZN8EditorUI17createCustomItemsEv; EditorUI::createCustomItems(void) ; +0x26, 0x6f6832\nMOVS            R3, #1                                                 ; +0x2a, 0x6f6836\nMOV             R2, R6; int                                            ; +0x2c, 0x6f6838\nSTR             R3, [SP,#0xC+var_C]; bool                              ; +0x2e, 0x6f683a\nMOV             R3, R5; int                                            ; +0x30, 0x6f683c\nMOV             R1, R0; cocos2d::CCArray *                             ; +0x32, 0x6f683e\nMOV             R0, R7; this                                           ; +0x34, 0x6f6840\nBL              _ZN13EditButtonBar13loadFromItemsEPN7cocos2d7CCArrayEiib; EditButtonBar::loadFromItems(cocos2d::CCArray *,int,int,bool) ; +0x36, 0x6f6842\nADD             SP, SP, #0xC                                           ; +0x3a, 0x6f6846\nPOP             {R4-R7,PC}                                             ; +0x3c, 0x6f6848", "xrefs": ["EditorUI::onDeleteCustomItem @ 0x6f6878", "EditorUI::orderUpCustomItem @ 0x6f68a4", "EditorUI::orderDownCustomItem @ 0x6f68e0", "EditorUI::onNewCustomItem @ 0x6f6aea"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}