{"type": "func", "start": 7301204, "end": 7301246, "name": "EditorUI::onDeleteCustomItem", "pseudocode": "// \n// EditorUI::onDeleteCustomItem from 0x6f6854 to 0x6f687e (42 bytes)\n// \n// 0 xrefs:\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::onDeleteCustomItem(int *this, cocos2d::CCObject *a2)\n{\n  int *v2; // r4\n  GameManager *v3; // r0\n\n  v2 = this;\n  if ( *(this + 223) < 0 )\n  {\n    v3 = (GameManager *)GameManager::sharedState((GameManager *)this);\n    GameManager::removeCustomObject(v3, (const char *)v2[223]);\n    v2[223] = 0;\n    return (int *)EditorUI::reloadCustomItems((EditButtonBar **)v2);\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::onDeleteCustomItem from 0x6f6854 to 0x6f687e (42 bytes)\n; \n; 0 xrefs:\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            {R4,LR}                                                ; +0x0, 0x6f6854\nMOV             R4, R0                                                 ; +0x2, 0x6f6856\nLDR.W           R3, [R0,#0x37C]                                        ; +0x4, 0x6f6858\nCMP             R3, #0                                                 ; +0x8, 0x6f685c\nBGE             locret_6F687C                                          ; +0xa, 0x6f685e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xc, 0x6f6860\nLDR.W           R1, [R4,#0x37C]; int                                   ; +0x10, 0x6f6864\nBL              _ZN11GameManager18removeCustomObjectEi; GameManager::removeCustomObject(int) ; +0x14, 0x6f6868\nMOVS            R3, #0                                                 ; +0x18, 0x6f686c\nMOV             R0, R4; this                                           ; +0x1a, 0x6f686e\nSTR.W           R3, [R4,#0x37C]                                        ; +0x1c, 0x6f6870\nPOP.W           {R4,LR}                                                ; +0x20, 0x6f6874\nB.W             _ZN8EditorUI17reloadCustomItemsEv; EditorUI::reloadCustomItems(void) ; +0x24, 0x6f6878\nPOP             {R4,PC}                                                ; +0x28, 0x6f687c", "xrefs": [], "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"}