{"type": "func", "start": 4296930320, "end": 4296930530, "name": "EditLevelLayer::confirmDelete", "pseudocode": "// \n// EditLevelLayer::confirmDelete from 0x1001df410 to 0x1001df4e2 (210 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::init @ 0x1001ddae9\n// \n// This function is hookable on this platform (idp: pc, 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:26:27 +0000\n// \n\n__int64 __fastcall EditLevelLayer::confirmDelete(__int64 a1)\n{\n  __int64 v1; // rbx\n  _QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  __p = operator new(0x60u);\n  v3[0] = 97;\n  v3[1] = 89;\n  strcpy((char *)__p, \"Are you sure you want to <cr>delete</c> this level?\\n<cy>This action cannot be undone.</c>\");\n  v1 = FLAlertLayer::create_1(a1 + 416, \"Delete Level\", v3, \"NO\", \"YES\", 340.0);\n  if ( (v3[0] & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 72LL))(v1, 4);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 1312LL))(v1);\n}", "assembly": "; \n; EditLevelLayer::confirmDelete from 0x1001df410 to 0x1001df4e2 (210 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::init @ 0x1001ddae9\n; \n; This function is hookable on this platform (idp: pc, 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:26:27 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001df410\nmov     rbp, rsp                                                       ; +0x1, 0x1001df411\npush    rbx                                                            ; +0x4, 0x1001df414\nsub     rsp, 18h                                                       ; +0x5, 0x1001df415\nmov     rbx, rdi                                                       ; +0x9, 0x1001df419\nadd     rbx, 1A0h                                                      ; +0xc, 0x1001df41c\nmov     edi, 60h ; '`'; __sz                                           ; +0x13, 0x1001df423\ncall    __Znwm; operator new(ulong)                                    ; +0x18, 0x1001df428\nmov     [rbp+__p], rax                                                 ; +0x1d, 0x1001df42d\nmov     [rbp+var_20], 61h ; 'a'                                        ; +0x21, 0x1001df431\nmov     [rbp+var_18], 59h ; 'Y'                                        ; +0x29, 0x1001df439\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_1+49h; \"t be undone.</c>\" ; +0x31, 0x1001df441\nmovups  xmmword ptr [rax+49h], xmm0                                    ; +0x38, 0x1001df448\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_1+40h; \"ion cannot be undone.</c>\" ; +0x3c, 0x1001df44c\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x43, 0x1001df453\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_1+30h; \"el?\\n<cy>This action cannot be undone.<\"... ; +0x47, 0x1001df457\nmovups  xmmword ptr [rax+30h], xmm0                                    ; +0x4e, 0x1001df45e\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_1+20h; \"ete</c> this level?\\n<cy>This action ca\"... ; +0x52, 0x1001df462\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x59, 0x1001df469\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_1+10h; \" want to <cr>delete</c> this level?\\n<c\"... ; +0x5d, 0x1001df46d\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x64, 0x1001df474\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_1; \"Are you sure you want to <cr>delete</c>\"... ; +0x68, 0x1001df478\nmovups  xmmword ptr [rax], xmm0                                        ; +0x6f, 0x1001df47f\nmov     byte ptr [rax+59h], 0                                          ; +0x72, 0x1001df482\nlea     rsi, aDeleteLevel; \"Delete Level\"                              ; +0x76, 0x1001df486\nlea     rcx, aNo; \"NO\"                                                 ; +0x7d, 0x1001df48d\nlea     r8, aYes_0; \"YES\"                                              ; +0x84, 0x1001df494\nlea     rdx, [rbp+var_20]                                              ; +0x8b, 0x1001df49b\nmovss   xmm0, cs:dword_100A04178                                       ; +0x8f, 0x1001df49f\nmov     rdi, rbx                                                       ; +0x97, 0x1001df4a7\ncall    FLAlertLayer__create_1                                         ; +0x9a, 0x1001df4aa\nmov     rbx, rax                                                       ; +0x9f, 0x1001df4af\ntest    byte ptr [rbp+var_20], 1                                       ; +0xa2, 0x1001df4b2\njz      short loc_1001DF4C1                                            ; +0xa6, 0x1001df4b6\nmov     rdi, [rbp+__p]; __p                                            ; +0xa8, 0x1001df4b8\ncall    __ZdlPv; operator delete(void *)                               ; +0xac, 0x1001df4bc\nmov     rax, [rbx]                                                     ; +0xb1, 0x1001df4c1\nmov     rdi, rbx                                                       ; +0xb4, 0x1001df4c4\nmov     esi, 4                                                         ; +0xb7, 0x1001df4c7\ncall    qword ptr [rax+48h]                                            ; +0xbc, 0x1001df4cc\nmov     rax, [rbx]                                                     ; +0xbf, 0x1001df4cf\nmov     rdi, rbx                                                       ; +0xc2, 0x1001df4d2\ncall    qword ptr [rax+520h]                                           ; +0xc5, 0x1001df4d5\nadd     rsp, 18h                                                       ; +0xcb, 0x1001df4db\npop     rbx                                                            ; +0xcf, 0x1001df4df\npop     rbp                                                            ; +0xd0, 0x1001df4e0\nretn                                                                   ; +0xd1, 0x1001df4e1", "xrefs": ["EditLevelLayer::init @ 0x1001ddae9"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}