{"type": "func", "start": 12451424, "end": 12451492, "name": "EditorUI::onDeleteCustomItem", "pseudocode": "// \n// EditorUI::onDeleteCustomItem from 0xbdfe60 to 0xbdfea4 (68 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xe4490\n// > EditorUI::createCustomItems @ 0xbdfd74\n// > <???> @ 0x1546dc0\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\nGameManager *__fastcall EditorUI::onDeleteCustomItem(GameManager *this, cocos2d::CCObject *a2)\n{\n  __int64 v2; // x19\n  GameManager *v3; // x0\n\n  if ( (*((_DWORD *)this + 336) & 0x80000000) != 0 )\n  {\n    v2 = (__int64)this;\n    v3 = (GameManager *)GameManager::sharedState(this);\n    GameManager::removeCustomObject(v3, (const char *)*(unsigned int *)(v2 + 1344));\n    *(_DWORD *)(v2 + 1344) = 0;\n    return (GameManager *)EditorUI::reloadCustomItems((EditButtonBar **)v2);\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::onDeleteCustomItem from 0xbdfe60 to 0xbdfea4 (68 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xe4490\n; > EditorUI::createCustomItems @ 0xbdfd74\n; > <???> @ 0x1546dc0\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_20]!                                ; +0x0, 0xbdfe60\nMOV             X29, SP                                                ; +0x4, 0xbdfe64\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xbdfe68\nLDR             W1, [X0,#0x540]                                        ; +0xc, 0xbdfe6c\nTBNZ            W1, #0x1F, loc_BDFE80                                  ; +0x10, 0xbdfe70\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x14, 0xbdfe74\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x18, 0xbdfe78\nRET                                                                    ; +0x1c, 0xbdfe7c\nMOV             X19, X0                                                ; +0x20, 0xbdfe80\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x24, 0xbdfe84\nLDR             W1, [X19,#0x540]; int                                  ; +0x28, 0xbdfe88\nBL              _ZN11GameManager18removeCustomObjectEi; GameManager::removeCustomObject(int) ; +0x2c, 0xbdfe8c\nSTR             WZR, [X19,#0x540]                                      ; +0x30, 0xbdfe90\nMOV             X0, X19; this                                          ; +0x34, 0xbdfe94\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x38, 0xbdfe98\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x3c, 0xbdfe9c\nB               _ZN8EditorUI17reloadCustomItemsEv; EditorUI::reloadCustomItems(void) ; +0x40, 0xbdfea0", "xrefs": ["<???> @ 0xe4490", "EditorUI::createCustomItems @ 0xbdfd74", "<???> @ 0x1546dc0"], "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"}