{"type": "func", "start": 5373100864, "end": 5373101162, "name": "LevelListLayer::confirmDelete", "pseudocode": "// \n// LevelListLayer::confirmDelete from 0x140430340 to 0x14043046a (298 bytes)\n// \n// 2 xrefs:\n// > LevelListLayer::init @ 0x14042c68c\n// > <???> @ 0x140926c48\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:32:15 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall LevelListLayer::confirmDelete(__int64 a1)\n{\n  int v1; // ebx\n  __int64 v2; // rax\n  cocos2d::CCObject *v3; // rbx\n  __int128 v4; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v5; // [rsp+60h] [rbp-38h]\n  __int64 v6; // [rsp+68h] [rbp-30h]\n  _BYTE v7[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  if ( !*(_BYTE *)(a1 + 968) )\n  {\n    v1 = a1 + 552;\n    if ( !a1 )\n      v1 = 0;\n    v4 = 0;\n    *(_QWORD *)&v4 = sub_14003D460(0x40u);\n    v5 = 50;\n    v6 = 63;\n    strcpy((char *)v4, \"Are you sure you want to <cr>delete</c> this list?\");\n    v2 = sub_14003F4F0((__int64)v7, (__int64)&v4);\n    v3 = FLAlertLayer::create(\n           v1,\n           (int)&qword_140720428,\n           v2,\n           (__int64)&unk_14073A058,\n           (__int64)\"YES\",\n           1133903872,\n           0,\n           0,\n           1065353216);\n    sub_14003D310((__int64)&v4);\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 64LL))(v3, 1001);\n    (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL))(v3);\n  }\n}", "assembly": "; \n; LevelListLayer::confirmDelete from 0x140430340 to 0x14043046a (298 bytes)\n; \n; 2 xrefs:\n; > LevelListLayer::init @ 0x14042c68c\n; > <???> @ 0x140926c48\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:32:15 +0000\n; \npush    rbx                                                            ; +0x0, 0x140430340\nsub     rsp, 90h                                                       ; +0x2, 0x140430342\ncmp     byte ptr [rcx+3C8h], 0                                         ; +0x9, 0x140430349\njnz     loc_140430461                                                  ; +0x10, 0x140430350\nlea     rbx, [rcx+228h]                                                ; +0x16, 0x140430356\nxor     eax, eax                                                       ; +0x1d, 0x14043035d\ntest    rcx, rcx                                                       ; +0x1f, 0x14043035f\ncmovz   rbx, rax                                                       ; +0x22, 0x140430362\nxorps   xmm0, xmm0                                                     ; +0x26, 0x140430366\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x29, 0x140430369\nmov     [rsp+98h+var_38], rax                                          ; +0x2e, 0x14043036e\nmov     [rsp+98h+var_30], rax                                          ; +0x33, 0x140430373\nmov     ecx, 40h ; '@'                                                 ; +0x38, 0x140430378\ncall    sub_14003D460                                                  ; +0x3d, 0x14043037d\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x42, 0x140430382\nmov     [rsp+98h+var_38], 32h ; '2'                                    ; +0x47, 0x140430387\nmov     [rsp+98h+var_30], 3Fh ; '?'                                    ; +0x50, 0x140430390\nmovups  xmm0, cs:xmmword_14078DCD0                                     ; +0x59, 0x140430399\nmovups  xmmword ptr [rax], xmm0                                        ; +0x60, 0x1404303a0\nmovups  xmm1, cs:xmmword_14078DCE0                                     ; +0x63, 0x1404303a3\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x6a, 0x1404303aa\nmovups  xmm0, cs:xmmword_14078DCF0                                     ; +0x6e, 0x1404303ae\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x75, 0x1404303b5\nmovzx   ecx, cs:word_14078DD00                                         ; +0x79, 0x1404303b9\nmov     [rax+30h], cx                                                  ; +0x80, 0x1404303c0\nmov     byte ptr [rax+32h], 0                                          ; +0x84, 0x1404303c4\nlea     rax, [rsp+98h+var_48]                                          ; +0x88, 0x1404303c8\nmov     [rsp+98h+arg_0], rax                                           ; +0x8d, 0x1404303cd\nlea     rdx, [rsp+98h+var_48]                                          ; +0x95, 0x1404303d5\nlea     rcx, [rsp+98h+var_28]                                          ; +0x9a, 0x1404303da\ncall    sub_14003F4F0                                                  ; +0x9f, 0x1404303df\nmovss   xmm0, cs:flt_140835080                                         ; +0xa4, 0x1404303e4\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xac, 0x1404303ec\nxorps   xmm1, xmm1                                                     ; +0xb2, 0x1404303f2\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xb5, 0x1404303f5\nmov     [rsp+98h+var_68], 0                                            ; +0xbb, 0x1404303fb\nmovss   xmm0, cs:dword_1408359A4                                       ; +0xc0, 0x140430400\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xc8, 0x140430408\nlea     rcx, aYes_0; \"YES\"                                             ; +0xce, 0x14043040e\nmov     [rsp+98h+var_78], rcx                                          ; +0xd5, 0x140430415\nlea     r9, unk_14073A058                                              ; +0xda, 0x14043041a\nmov     r8, rax                                                        ; +0xe1, 0x140430421\nlea     rdx, qword_140720428                                           ; +0xe4, 0x140430424\nmov     rcx, rbx                                                       ; +0xeb, 0x14043042b\ncall    FLAlertLayer__create                                           ; +0xee, 0x14043042e\nmov     rbx, rax                                                       ; +0xf3, 0x140430433\nlea     rcx, [rsp+98h+var_48]                                          ; +0xf6, 0x140430436\ncall    sub_14003D310                                                  ; +0xfb, 0x14043043b\nmov     rcx, [rbx]                                                     ; +0x100, 0x140430440\nmov     r8, [rcx+40h]                                                  ; +0x103, 0x140430443\nmov     edx, 3E9h                                                      ; +0x107, 0x140430447\nmov     rcx, rbx                                                       ; +0x10c, 0x14043044c\ncall    r8                                                             ; +0x10f, 0x14043044f\nmov     rcx, [rbx]                                                     ; +0x112, 0x140430452\nmov     rdx, [rcx+428h]                                                ; +0x115, 0x140430455\nmov     rcx, rbx                                                       ; +0x11c, 0x14043045c\ncall    rdx                                                            ; +0x11f, 0x14043045f\nadd     rsp, 90h                                                       ; +0x121, 0x140430461\npop     rbx                                                            ; +0x128, 0x140430468\nretn                                                                   ; +0x129, 0x140430469", "xrefs": ["LevelListLayer::init @ 0x14042c68c", "<???> @ 0x140926c48"], "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"}