{"type": "func", "start": 4295176208, "end": 4295176404, "name": "EditorUI::showDeleteConfirmation", "pseudocode": "// \n// EditorUI::showDeleteConfirmation from 0x100033010 to 0x1000330d4 (196 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall EditorUI::showDeleteConfirmation(EditorUI *a1)\n{\n  __int64 v1; // rbx\n  _QWORD v2[2]; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  __p = operator new(0x60u);\n  v2[0] = 97;\n  v2[1] = 91;\n  strcpy((char *)__p, \"Are you sure you want to <cr>Delete</c> all objects? (<cy>This action cannot be undone</c>)\");\n  v1 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, \"Delete All\", v2, \"Cancel\", \"Yes\", 300.0);\n  if ( (v2[0] & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 1288LL))(v1);\n}", "assembly": "; \n; EditorUI::showDeleteConfirmation from 0x100033010 to 0x1000330d4 (196 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100033010\nmov     rbp, rsp                                                       ; +0x1, 0x100033011\npush    rbx                                                            ; +0x4, 0x100033014\nsub     rsp, 18h                                                       ; +0x5, 0x100033015\nmov     rbx, rdi                                                       ; +0x9, 0x100033019\nadd     rbx, 198h                                                      ; +0xc, 0x10003301c\nmov     edi, 60h ; '`'; __sz                                           ; +0x13, 0x100033023\ncall    __Znwm; operator new(ulong)                                    ; +0x18, 0x100033028\nmov     [rbp+__p], rax                                                 ; +0x1d, 0x10003302d\nmov     [rbp+var_20], 61h ; 'a'                                        ; +0x21, 0x100033031\nmov     [rbp+var_18], 5Bh ; '['                                        ; +0x29, 0x100033039\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW+4Bh; \"t be undone</c>)\"   ; +0x31, 0x100033041\nmovups  xmmword ptr [rax+4Bh], xmm0                                    ; +0x38, 0x100033048\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW+40h; \"ction cannot be undone</c>)\" ; +0x3c, 0x10003304c\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x43, 0x100033053\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW+30h; \"cts? (<cy>This action cannot be undone<\"... ; +0x47, 0x100033057\nmovups  xmmword ptr [rax+30h], xmm0                                    ; +0x4e, 0x10003305e\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW+20h; \"ete</c> all objects? (<cy>This action c\"... ; +0x52, 0x100033062\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x59, 0x100033069\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW+10h; \" want to <cr>Delete</c> all objects? (<\"... ; +0x5d, 0x10003306d\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x64, 0x100033074\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW; \"Are you sure you want to <cr>Delete</c>\"... ; +0x68, 0x100033078\nmovups  xmmword ptr [rax], xmm0                                        ; +0x6f, 0x10003307f\nmov     byte ptr [rax+5Bh], 0                                          ; +0x72, 0x100033082\nlea     rsi, aDeleteAll; \"Delete All\"                                  ; +0x76, 0x100033086\nlea     rcx, aCancel; \"Cancel\"                                         ; +0x7d, 0x10003308d\nlea     r8, aYes; \"Yes\"                                                ; +0x84, 0x100033094\nlea     rdx, [rbp+var_20]                                              ; +0x8b, 0x10003309b\nmovss   xmm0, cs:dword_1008152B4                                       ; +0x8f, 0x10003309f\nmov     rdi, rbx                                                       ; +0x97, 0x1000330a7\ncall    FLAlertLayer__create_1                                         ; +0x9a, 0x1000330aa\nmov     rbx, rax                                                       ; +0x9f, 0x1000330af\ntest    byte ptr [rbp+var_20], 1                                       ; +0xa2, 0x1000330b2\njz      short loc_1000330C1                                            ; +0xa6, 0x1000330b6\nmov     rdi, [rbp+__p]; __p                                            ; +0xa8, 0x1000330b8\ncall    __ZdlPv; operator delete(void *)                               ; +0xac, 0x1000330bc\nmov     rax, [rbx]                                                     ; +0xb1, 0x1000330c1\nmov     rdi, rbx                                                       ; +0xb4, 0x1000330c4\ncall    qword ptr [rax+508h]                                           ; +0xb7, 0x1000330c7\nadd     rsp, 18h                                                       ; +0xbd, 0x1000330cd\npop     rbx                                                            ; +0xc1, 0x1000330d1\npop     rbp                                                            ; +0xc2, 0x1000330d2\nretn                                                                   ; +0xc3, 0x1000330d3", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}