{"type": "func", "start": 8134144, "end": 8134376, "name": "EditorUI::showDeleteConfirmation", "pseudocode": "// \n// EditorUI::showDeleteConfirmation from 0x7c1e00 to 0x7c1ee8 (232 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x62938\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:07 +0000\n// \n\n__int64 __fastcall EditorUI::showDeleteConfirmation(EditorUI *this)\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(0x60u);\n  v4[1] = 91;\n  v4[0] = 97;\n  *((_BYTE *)memcpy(\n               v5,\n               \"Are you sure you want to <cr>Delete</c> all objects? (<cy>This action cannot be undone</c>)\",\n               0x5Bu)\n  + 91) = 0;\n  v2 = FLAlertLayer::create(\n         (__int64)this + 408,\n         (cocos2d::CCLabelBMFont *)\"Delete All\",\n         (char *)v4,\n         (ButtonSprite *)\"Cancel\",\n         (ButtonSprite *)\"Yes\",\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::showDeleteConfirmation from 0x7c1e00 to 0x7c1ee8 (232 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x62938\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:07 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x7c1e00\nMOV             X29, SP                                                ; +0x4, 0x7c1e04\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x7c1e08\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x7c1e0c\nMOV             X20, X0                                                ; +0x10, 0x7c1e10\nMOV             X0, #0x60 ; '`'; unsigned __int64                      ; +0x14, 0x7c1e14\nSTR             XZR, [X29,#0x40+var_20]                                ; +0x18, 0x7c1e18\nSTR             XZR, [X29,#0x40+var_18]                                ; +0x1c, 0x7c1e1c\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x7c1e20\nSTR             XZR, [X29,#0x40+var_10]                                ; +0x24, 0x7c1e24\nLDR             X1, [X1]                                               ; +0x28, 0x7c1e28\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x2c, 0x7c1e2c\nBL              _Znwm; operator new(ulong)                             ; +0x30, 0x7c1e30\nSTR             X0, [X29,#0x40+var_10]                                 ; +0x34, 0x7c1e34\nMOV             X4, #0x5B ; '['                                        ; +0x38, 0x7c1e38\nADRP            X1, #aAreYouSureYouW_7@PAGE; \"Are you sure you want to <cr>Delete</c>\"... ; +0x3c, 0x7c1e3c\nMOV             X2, X4; size_t                                         ; +0x40, 0x7c1e40\nADD             X1, X1, #aAreYouSureYouW_7@PAGEOFF; \"Are you sure you want to <cr>Delete</c>\"... ; +0x44, 0x7c1e44\nSTR             X4, [X29,#0x40+var_18]                                 ; +0x48, 0x7c1e48\nMOV             X4, #0x61 ; 'a'                                        ; +0x4c, 0x7c1e4c\nSTR             X4, [X29,#0x40+var_20]                                 ; +0x50, 0x7c1e50\nBL              .memcpy                                                ; +0x54, 0x7c1e54\nSTRB            WZR, [X0,#0x5B]                                        ; +0x58, 0x7c1e58\nLDR             S0, =0x43960000                                        ; +0x5c, 0x7c1e5c\nADRP            X1, #aDeleteAll@PAGE; \"Delete All\"                     ; +0x60, 0x7c1e60\nADRP            X3, #aCancel@PAGE; \"Cancel\"                            ; +0x64, 0x7c1e64\nADRP            X4, #aYes@PAGE; \"Yes\"                                  ; +0x68, 0x7c1e68\nADD             X0, X20, #0x198                                        ; +0x6c, 0x7c1e6c\nADD             X1, X1, #aDeleteAll@PAGEOFF; \"Delete All\"              ; +0x70, 0x7c1e70\nADD             X2, X29, #0x40+var_20                                  ; +0x74, 0x7c1e74\nADD             X3, X3, #aCancel@PAGEOFF; \"Cancel\"                     ; +0x78, 0x7c1e78\nADD             X4, X4, #aYes@PAGEOFF; \"Yes\"                           ; +0x7c, 0x7c1e7c\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x80, 0x7c1e80\nMOV             X20, X0                                                ; +0x84, 0x7c1e84\nLDRB            W0, [X29,#0x40+var_20]                                 ; +0x88, 0x7c1e88\nTBZ             W0, #0, loc_7C1E98                                     ; +0x8c, 0x7c1e8c\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x90, 0x7c1e90\nBL              _ZdlPv; operator delete(void *)                        ; +0x94, 0x7c1e94\nLDR             X1, [X20]                                              ; +0x98, 0x7c1e98\nMOV             X0, X20                                                ; +0x9c, 0x7c1e9c\nLDR             X1, [X1,#0x520]                                        ; +0xa0, 0x7c1ea0\nBLR             X1                                                     ; +0xa4, 0x7c1ea4\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xa8, 0x7c1ea8\nLDR             X1, [X29,#0x40+var_8]                                  ; +0xac, 0x7c1eac\nLDR             X0, [X19]                                              ; +0xb0, 0x7c1eb0\nCMP             X1, X0                                                 ; +0xb4, 0x7c1eb4\nB.NE            loc_7C1EC8                                             ; +0xb8, 0x7c1eb8\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xbc, 0x7c1ebc\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xc0, 0x7c1ec0\nRET                                                                    ; +0xc4, 0x7c1ec4\nBL              .__stack_chk_fail                                      ; +0xc8, 0x7c1ec8\nLDRB            W1, [X29,#0x40+var_20]                                 ; +0xcc, 0x7c1ecc\nMOV             X19, X0                                                ; +0xd0, 0x7c1ed0\nTBZ             W1, #0, loc_7C1EE0                                     ; +0xd4, 0x7c1ed4\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0xd8, 0x7c1ed8\nBL              _ZdlPv; operator delete(void *)                        ; +0xdc, 0x7c1edc\nMOV             X0, X19                                                ; +0xe0, 0x7c1ee0\nBL              _Unwind_Resume                                         ; +0xe4, 0x7c1ee4", "xrefs": ["<???> @ 0x62938"], "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"}