{"type": "func", "start": 5370265712, "end": 5370266034, "name": "EditLevelLayer::confirmDelete", "pseudocode": "// \n// EditLevelLayer::confirmDelete from 0x14017c070 to 0x14017c1b2 (322 bytes)\n// \n// 2 xrefs:\n// > EditLevelLayer::init @ 0x1401792b3\n// > <???> @ 0x140918788\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 11:27:35 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall EditLevelLayer::confirmDelete(__int64 a1)\n{\n  int v1; // ebx\n  __int64 v2; // rax\n  cocos2d::CCObject *v3; // rbx\n  __int128 v5; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v6; // [rsp+60h] [rbp-38h]\n  __int64 v7; // [rsp+68h] [rbp-30h]\n  _BYTE v8[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  v1 = a1 + 416;\n  if ( !a1 )\n    v1 = 0;\n  v5 = 0;\n  *(_QWORD *)&v5 = sub_14003D460(0x60u);\n  v6 = 89;\n  v7 = 95;\n  strcpy((char *)v5, \"Are you sure you want to <cr>delete</c> this level?\\n<cy>This action cannot be undone.</c>\");\n  v2 = sub_14003F4F0((__int64)v8, (__int64)&v5);\n  v3 = FLAlertLayer::create(\n         v1,\n         (int)&qword_140720438,\n         v2,\n         (__int64)&unk_14073A058,\n         (__int64)\"YES\",\n         1135214592,\n         0,\n         0,\n         1065353216);\n  sub_14003D310((__int64)&v5);\n  (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 64LL))(v3, 4);\n  return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL))(v3);\n}", "assembly": "; \n; EditLevelLayer::confirmDelete from 0x14017c070 to 0x14017c1b2 (322 bytes)\n; \n; 2 xrefs:\n; > EditLevelLayer::init @ 0x1401792b3\n; > <???> @ 0x140918788\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 11:27:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x14017c070\nsub     rsp, 90h                                                       ; +0x2, 0x14017c072\nlea     rbx, [rcx+1A0h]                                                ; +0x9, 0x14017c079\nxor     eax, eax                                                       ; +0x10, 0x14017c080\ntest    rcx, rcx                                                       ; +0x12, 0x14017c082\ncmovz   rbx, rax                                                       ; +0x15, 0x14017c085\nxorps   xmm0, xmm0                                                     ; +0x19, 0x14017c089\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x1c, 0x14017c08c\nmov     [rsp+98h+var_38], rax                                          ; +0x21, 0x14017c091\nmov     [rsp+98h+var_30], rax                                          ; +0x26, 0x14017c096\nmov     ecx, 60h ; '`'                                                 ; +0x2b, 0x14017c09b\ncall    sub_14003D460                                                  ; +0x30, 0x14017c0a0\nmov     rcx, rax                                                       ; +0x35, 0x14017c0a5\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x38, 0x14017c0a8\nmov     [rsp+98h+var_38], 59h ; 'Y'                                    ; +0x3d, 0x14017c0ad\nmov     [rsp+98h+var_30], 5Fh ; '_'                                    ; +0x46, 0x14017c0b6\nmovaps  xmm0, cs:xmmword_140747F10                                     ; +0x4f, 0x14017c0bf\nmovups  xmmword ptr [rax], xmm0                                        ; +0x56, 0x14017c0c6\nmovaps  xmm1, cs:xmmword_140747F20                                     ; +0x59, 0x14017c0c9\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x60, 0x14017c0d0\nmovaps  xmm0, cs:xmmword_140747F30                                     ; +0x64, 0x14017c0d4\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x6b, 0x14017c0db\nmovaps  xmm1, cs:xmmword_140747F40                                     ; +0x6f, 0x14017c0df\nmovups  xmmword ptr [rax+30h], xmm1                                    ; +0x76, 0x14017c0e6\nmovaps  xmm0, cs:xmmword_140747F50                                     ; +0x7a, 0x14017c0ea\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x81, 0x14017c0f1\nmovsd   xmm0, cs:qword_140747F60                                       ; +0x85, 0x14017c0f5\nmovsd   qword ptr [rax+50h], xmm0                                      ; +0x8d, 0x14017c0fd\nmovzx   eax, cs:byte_140747F68                                         ; +0x92, 0x14017c102\nmov     [rcx+58h], al                                                  ; +0x99, 0x14017c109\nmov     byte ptr [rcx+59h], 0                                          ; +0x9c, 0x14017c10c\nlea     rax, [rsp+98h+var_48]                                          ; +0xa0, 0x14017c110\nmov     [rsp+98h+arg_0], rax                                           ; +0xa5, 0x14017c115\nlea     rdx, [rsp+98h+var_48]                                          ; +0xad, 0x14017c11d\nlea     rcx, [rsp+98h+var_28]                                          ; +0xb2, 0x14017c122\ncall    sub_14003F4F0                                                  ; +0xb7, 0x14017c127\nmovss   xmm0, cs:flt_140835080                                         ; +0xbc, 0x14017c12c\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xc4, 0x14017c134\nxorps   xmm1, xmm1                                                     ; +0xca, 0x14017c13a\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xcd, 0x14017c13d\nmov     [rsp+98h+var_68], 0                                            ; +0xd3, 0x14017c143\nmovss   xmm0, cs:dword_1408359D4                                       ; +0xd8, 0x14017c148\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xe0, 0x14017c150\nlea     rcx, aYes_0; \"YES\"                                             ; +0xe6, 0x14017c156\nmov     [rsp+98h+var_78], rcx                                          ; +0xed, 0x14017c15d\nlea     r9, unk_14073A058                                              ; +0xf2, 0x14017c162\nmov     r8, rax                                                        ; +0xf9, 0x14017c169\nlea     rdx, qword_140720438                                           ; +0xfc, 0x14017c16c\nmov     rcx, rbx                                                       ; +0x103, 0x14017c173\ncall    FLAlertLayer__create                                           ; +0x106, 0x14017c176\nmov     rbx, rax                                                       ; +0x10b, 0x14017c17b\nlea     rcx, [rsp+98h+var_48]                                          ; +0x10e, 0x14017c17e\ncall    sub_14003D310                                                  ; +0x113, 0x14017c183\nmov     rcx, [rbx]                                                     ; +0x118, 0x14017c188\nmov     r8, [rcx+40h]                                                  ; +0x11b, 0x14017c18b\nmov     edx, 4                                                         ; +0x11f, 0x14017c18f\nmov     rcx, rbx                                                       ; +0x124, 0x14017c194\ncall    r8                                                             ; +0x127, 0x14017c197\nmov     rcx, [rbx]                                                     ; +0x12a, 0x14017c19a\nmov     rdx, [rcx+428h]                                                ; +0x12d, 0x14017c19d\nmov     rcx, rbx                                                       ; +0x134, 0x14017c1a4\ncall    rdx                                                            ; +0x137, 0x14017c1a7\nadd     rsp, 90h                                                       ; +0x139, 0x14017c1a9\npop     rbx                                                            ; +0x140, 0x14017c1b0\nretn                                                                   ; +0x141, 0x14017c1b1", "xrefs": ["EditLevelLayer::init @ 0x1401792b3", "<???> @ 0x140918788"], "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"}