{"type": "func", "start": 8133056, "end": 8133280, "name": "EditorUI::onDeleteInfo", "pseudocode": "// \n// EditorUI::onDeleteInfo from 0x7c19c0 to 0x7c1aa0 (224 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xdb160\n// > EditorUI::setupDeleteMenu @ 0xbdeec0\n// > <???> @ 0x15468f0\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 12:54:06 +0000\n// \n\n__int64 __fastcall EditorUI::onDeleteInfo(EditorUI *this, cocos2d::CCObject *a2)\n{\n  __int64 v2; // x20\n  _QWORD v4[2]; // [xsp+20h] [xbp+20h] BYREF\n  void *v5; // [xsp+30h] [xbp+30h]\n\n  v5 = (void *)operator new(0xB0u);\n  v4[1] = 172;\n  v4[0] = 177;\n  *((_BYTE *)memcpy(\n               v5,\n               \"<co>Only remove certain objects.</c>\\n\"\n               \"<cy>Static:</c> Blocks, Spikes...\\n\"\n               \"<cg>Details</c>: Details, portals, triggers...\\n\"\n               \"<cl>Custom</c>: Selected object\\n\"\n               \"<cr>None:</c> Disabled\",\n               0xACu)\n  + 172) = 0;\n  v2 = FLAlertLayer::create(\n         0,\n         (cocos2d::CCLabelBMFont *)\"Delete Filters\",\n         (char *)v4,\n         (ButtonSprite *)\"OK\",\n         nullptr,\n         300.0);\n  if ( (v4[0] & 1) != 0 )\n    operator delete(v5);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorUI::onDeleteInfo from 0x7c19c0 to 0x7c1aa0 (224 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xdb160\n; > EditorUI::setupDeleteMenu @ 0xbdeec0\n; > <???> @ 0x15468f0\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 12:54:06 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x7c19c0\nMOV             X0, #0xB0; unsigned __int64                            ; +0x4, 0x7c19c4\nMOV             X29, SP                                                ; +0x8, 0x7c19c8\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0xc, 0x7c19cc\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x7c19d0\nSTR             XZR, [X29,#0x40+var_20]                                ; +0x14, 0x7c19d4\nSTR             XZR, [X29,#0x40+var_18]                                ; +0x18, 0x7c19d8\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x7c19dc\nSTR             XZR, [X29,#0x40+var_10]                                ; +0x20, 0x7c19e0\nLDR             X1, [X1]                                               ; +0x24, 0x7c19e4\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x28, 0x7c19e8\nBL              _Znwm; operator new(ulong)                             ; +0x2c, 0x7c19ec\nSTR             X0, [X29,#0x40+var_10]                                 ; +0x30, 0x7c19f0\nMOV             X4, #0xAC                                              ; +0x34, 0x7c19f4\nADRP            X1, #aCoOnlyRemoveCe@PAGE; \"<co>Only remove certain objects.</c>\\n<\"... ; +0x38, 0x7c19f8\nMOV             X2, X4; size_t                                         ; +0x3c, 0x7c19fc\nADD             X1, X1, #aCoOnlyRemoveCe@PAGEOFF; \"<co>Only remove certain objects.</c>\\n<\"... ; +0x40, 0x7c1a00\nSTR             X4, [X29,#0x40+var_18]                                 ; +0x44, 0x7c1a04\nMOV             X4, #0xB1                                              ; +0x48, 0x7c1a08\nSTR             X4, [X29,#0x40+var_20]                                 ; +0x4c, 0x7c1a0c\nBL              .memcpy                                                ; +0x50, 0x7c1a10\nSTRB            WZR, [X0,#0xAC]                                        ; +0x54, 0x7c1a14\nLDR             S0, =0x43960000                                        ; +0x58, 0x7c1a18\nADRP            X1, #aDeleteFilters@PAGE; \"Delete Filters\"             ; +0x5c, 0x7c1a1c\nADRP            X3, #aOk@PAGE; \"OK\"                                    ; +0x60, 0x7c1a20\nMOV             X0, #0                                                 ; +0x64, 0x7c1a24\nADD             X1, X1, #aDeleteFilters@PAGEOFF; \"Delete Filters\"      ; +0x68, 0x7c1a28\nADD             X2, X29, #0x40+var_20                                  ; +0x6c, 0x7c1a2c\nADD             X3, X3, #aOk@PAGEOFF; \"OK\"                             ; +0x70, 0x7c1a30\nMOV             X4, #0                                                 ; +0x74, 0x7c1a34\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x78, 0x7c1a38\nMOV             X20, X0                                                ; +0x7c, 0x7c1a3c\nLDRB            W0, [X29,#0x40+var_20]                                 ; +0x80, 0x7c1a40\nTBZ             W0, #0, loc_7C1A50                                     ; +0x84, 0x7c1a44\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x88, 0x7c1a48\nBL              _ZdlPv; operator delete(void *)                        ; +0x8c, 0x7c1a4c\nLDR             X1, [X20]                                              ; +0x90, 0x7c1a50\nMOV             X0, X20                                                ; +0x94, 0x7c1a54\nLDR             X1, [X1,#0x520]                                        ; +0x98, 0x7c1a58\nBLR             X1                                                     ; +0x9c, 0x7c1a5c\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xa0, 0x7c1a60\nLDR             X1, [X29,#0x40+var_8]                                  ; +0xa4, 0x7c1a64\nLDR             X0, [X19]                                              ; +0xa8, 0x7c1a68\nCMP             X1, X0                                                 ; +0xac, 0x7c1a6c\nB.NE            loc_7C1A80                                             ; +0xb0, 0x7c1a70\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xb4, 0x7c1a74\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xb8, 0x7c1a78\nRET                                                                    ; +0xbc, 0x7c1a7c\nBL              .__stack_chk_fail                                      ; +0xc0, 0x7c1a80\nLDRB            W1, [X29,#0x40+var_20]                                 ; +0xc4, 0x7c1a84\nMOV             X19, X0                                                ; +0xc8, 0x7c1a88\nTBZ             W1, #0, loc_7C1A98                                     ; +0xcc, 0x7c1a8c\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0xd0, 0x7c1a90\nBL              _ZdlPv; operator delete(void *)                        ; +0xd4, 0x7c1a94\nMOV             X0, X19                                                ; +0xd8, 0x7c1a98\nBL              _Unwind_Resume                                         ; +0xdc, 0x7c1a9c", "xrefs": ["<???> @ 0xdb160", "EditorUI::setupDeleteMenu @ 0xbdeec0", "<???> @ 0x15468f0"], "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"}