{"type": "func", "start": 5373101168, "end": 5373101876, "name": "LevelListLayer::confirmOwnerDelete", "pseudocode": "// \n// LevelListLayer::confirmOwnerDelete from 0x140430470 to 0x140430734 (708 bytes)\n// \n// 2 xrefs:\n// > LevelListLayer::init @ 0x14042c630\n// > <???> @ 0x140926c54\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=2\nvoid __fastcall LevelListLayer::confirmOwnerDelete(__int64 a1)\n{\n  __int64 v2; // rax\n  __int64 v3; // rcx\n  int v4; // ebx\n  char *v5; // rax\n  char *v6; // rdi\n  int v7; // ebx\n  _OWORD *v8; // rax\n  __int64 v9; // rax\n  cocos2d::CCObject *v10; // rbx\n  __int128 v11; // [rsp+58h] [rbp-80h] BYREF\n  __int64 v12; // [rsp+68h] [rbp-70h]\n  __int64 v13; // [rsp+70h] [rbp-68h]\n  _BYTE v14[32]; // [rsp+80h] [rbp-58h] BYREF\n  __int128 v15; // [rsp+A0h] [rbp-38h] BYREF\n  __int64 v16; // [rsp+B0h] [rbp-28h]\n  __int64 v17; // [rsp+B8h] [rbp-20h]\n\n  if ( !*(_BYTE *)(a1 + 968) )\n  {\n    v2 = GJAccountManager::sharedState();\n    v3 = *(_QWORD *)(a1 + 920);\n    if ( *(_DWORD *)(v3 + 364) == *(_DWORD *)(v2 + 360) - *(_DWORD *)(v2 + 364) )\n    {\n      v15 = 0;\n      v6 = (char *)sub_14003D460(0x80u);\n      *(_QWORD *)&v15 = v6;\n      v16 = 127;\n      v17 = 127;\n      strcpy(\n        v6,\n        \"Do you want to <cr>delete</c> this <cg>list</c> from the <cl>server</c>? <cy>(Your list will no longer be available online)</c>\");\n      v7 = a1 + 552;\n      if ( !a1 )\n        v7 = 0;\n      v11 = 0;\n      v8 = sub_14003D460(0x80u);\n      *(_QWORD *)&v11 = v8;\n      v12 = 127;\n      v13 = 127;\n      *v8 = *(_OWORD *)v6;\n      v8[1] = *((_OWORD *)v6 + 1);\n      v8[2] = *((_OWORD *)v6 + 2);\n      v8[3] = *((_OWORD *)v6 + 3);\n      v8[4] = *((_OWORD *)v6 + 4);\n      v8[5] = *((_OWORD *)v6 + 5);\n      v8[6] = *((_OWORD *)v6 + 6);\n      v8[7] = *((_OWORD *)v6 + 7);\n      v9 = sub_14003F4F0((__int64)v14, (__int64)&v11);\n      v10 = FLAlertLayer::create(\n              v7,\n              (int)\"Remove Server List\",\n              v9,\n              (__int64)&unk_14073A058,\n              (__int64)\"YES\",\n              1133903872,\n              0,\n              0,\n              1065353216);\n      sub_14003D310((__int64)&v11);\n      (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v10 + 64LL))(v10, 1004);\n      (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v10 + 1064LL))(v10);\n      j_j_free(v6);\n    }\n    else\n    {\n      v4 = a1 + 872;\n      if ( !a1 )\n        v4 = 0;\n      sub_14003F4F0((__int64)&v15, v3 + 440);\n      v5 = AdminActionConfirmPopup::createContentDelete(v4, 1004, (int)\"Remove Server List\", (size_t *)&v15, 2u);\n      (*(void (__fastcall **)(char *))(*(_QWORD *)v5 + 1064LL))(v5);\n      sub_14003D310((__int64)&v15);\n    }\n  }\n}", "assembly": "; \n; LevelListLayer::confirmOwnerDelete from 0x140430470 to 0x140430734 (708 bytes)\n; \n; 2 xrefs:\n; > LevelListLayer::init @ 0x14042c630\n; > <???> @ 0x140926c54\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; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140430470\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x140430475\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14043047a\npush    rdi                                                            ; +0xf, 0x14043047f\nsub     rsp, 0D0h                                                      ; +0x10, 0x140430480\nmov     rax, cs:__security_cookie                                      ; +0x17, 0x140430487\nxor     rax, rsp                                                       ; +0x1e, 0x14043048e\nmov     [rsp+0D8h+var_18], rax                                         ; +0x21, 0x140430491\nmov     rsi, rcx                                                       ; +0x29, 0x140430499\nxor     ebp, ebp                                                       ; +0x2c, 0x14043049c\ncmp     [rcx+3C8h], bpl                                                ; +0x2e, 0x14043049e\njnz     loc_14043070B                                                  ; +0x35, 0x1404304a5\ncall    GJAccountManager__sharedState                                  ; +0x3b, 0x1404304ab\nmov     rdx, rax                                                       ; +0x40, 0x1404304b0\nmov     rcx, [rsi+398h]                                                ; +0x43, 0x1404304b3\nmov     eax, [rax+168h]                                                ; +0x4a, 0x1404304ba\nsub     eax, [rdx+16Ch]                                                ; +0x50, 0x1404304c0\ncmp     [rcx+16Ch], eax                                                ; +0x56, 0x1404304c6\njz      short loc_140430537                                            ; +0x5c, 0x1404304cc\nlea     rbx, [rsi+368h]                                                ; +0x5e, 0x1404304ce\ntest    rsi, rsi                                                       ; +0x65, 0x1404304d5\ncmovz   rbx, rbp                                                       ; +0x68, 0x1404304d8\nlea     rdx, [rcx+1B8h]                                                ; +0x6c, 0x1404304dc\nlea     rcx, [rsp+0D8h+var_38]                                         ; +0x73, 0x1404304e3\ncall    sub_14003F4F0                                                  ; +0x7b, 0x1404304eb\nnop                                                                    ; +0x80, 0x1404304f0\nmov     dword ptr [rsp+0D8h+var_B8], 2                                 ; +0x81, 0x1404304f1\nlea     r9, [rsp+0D8h+var_38]                                          ; +0x89, 0x1404304f9\nlea     r8, aRemoveServerLi; \"Remove Server List\"                      ; +0x91, 0x140430501\nmov     edx, 3ECh                                                      ; +0x98, 0x140430508\nmov     rcx, rbx                                                       ; +0x9d, 0x14043050d\ncall    AdminActionConfirmPopup__createContentDelete                   ; +0xa0, 0x140430510\nmov     rcx, [rax]                                                     ; +0xa5, 0x140430515\nmov     rdx, [rcx+428h]                                                ; +0xa8, 0x140430518\nmov     rcx, rax                                                       ; +0xaf, 0x14043051f\ncall    rdx                                                            ; +0xb2, 0x140430522\nnop                                                                    ; +0xb4, 0x140430524\nlea     rcx, [rsp+0D8h+var_38]                                         ; +0xb5, 0x140430525\ncall    sub_14003D310                                                  ; +0xbd, 0x14043052d\njmp     loc_14043070B                                                  ; +0xc2, 0x140430532\nxorps   xmm0, xmm0                                                     ; +0xc7, 0x140430537\nmovups  [rsp+0D8h+var_38], xmm0                                        ; +0xca, 0x14043053a\nmov     ecx, 80h                                                       ; +0xd2, 0x140430542\ncall    sub_14003D460                                                  ; +0xd7, 0x140430547\nmov     rdi, rax                                                       ; +0xdc, 0x14043054c\nmov     qword ptr [rsp+0D8h+var_38], rax                               ; +0xdf, 0x14043054f\nmov     [rsp+0D8h+var_28], 7Fh                                         ; +0xe7, 0x140430557\nmov     [rsp+0D8h+var_20], 7Fh                                         ; +0xf3, 0x140430563\nmovaps  xmm0, cs:xmmword_14078DC20                                     ; +0xff, 0x14043056f\nmovups  xmmword ptr [rax], xmm0                                        ; +0x106, 0x140430576\nmovaps  xmm1, cs:xmmword_14078DC30                                     ; +0x109, 0x140430579\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x110, 0x140430580\nmovaps  xmm0, cs:xmmword_14078DC40                                     ; +0x114, 0x140430584\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x11b, 0x14043058b\nmovaps  xmm1, cs:xmmword_14078DC50                                     ; +0x11f, 0x14043058f\nmovups  xmmword ptr [rax+30h], xmm1                                    ; +0x126, 0x140430596\nmovaps  xmm0, cs:xmmword_14078DC60                                     ; +0x12a, 0x14043059a\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x131, 0x1404305a1\nmovaps  xmm1, cs:xmmword_14078DC70                                     ; +0x135, 0x1404305a5\nmovups  xmmword ptr [rax+50h], xmm1                                    ; +0x13c, 0x1404305ac\nmovaps  xmm0, cs:xmmword_14078DC80                                     ; +0x140, 0x1404305b0\nmovups  xmmword ptr [rax+60h], xmm0                                    ; +0x147, 0x1404305b7\nmovsd   xmm0, cs:qword_14078DC90                                       ; +0x14b, 0x1404305bb\nmovsd   qword ptr [rax+70h], xmm0                                      ; +0x153, 0x1404305c3\nmov     eax, cs:dword_14078DC98                                        ; +0x158, 0x1404305c8\nmov     [rdi+78h], eax                                                 ; +0x15e, 0x1404305ce\nmovzx   eax, cs:word_14078DC9C                                         ; +0x161, 0x1404305d1\nmov     [rdi+7Ch], ax                                                  ; +0x168, 0x1404305d8\nmovzx   eax, cs:byte_14078DC9E                                         ; +0x16c, 0x1404305dc\nmov     [rdi+7Eh], al                                                  ; +0x173, 0x1404305e3\nmov     [rdi+7Fh], bpl                                                 ; +0x176, 0x1404305e6\nlea     rbx, [rsi+228h]                                                ; +0x17a, 0x1404305ea\ntest    rsi, rsi                                                       ; +0x181, 0x1404305f1\ncmovz   rbx, rbp                                                       ; +0x184, 0x1404305f4\nxorps   xmm0, xmm0                                                     ; +0x188, 0x1404305f8\nmovups  [rsp+0D8h+var_80], xmm0                                        ; +0x18b, 0x1404305fb\nmov     [rsp+0D8h+var_70], rbp                                         ; +0x190, 0x140430600\nmov     [rsp+0D8h+var_68], rbp                                         ; +0x195, 0x140430605\nmov     ecx, 80h                                                       ; +0x19a, 0x14043060a\ncall    sub_14003D460                                                  ; +0x19f, 0x14043060f\nmov     qword ptr [rsp+0D8h+var_80], rax                               ; +0x1a4, 0x140430614\nmov     [rsp+0D8h+var_70], 7Fh                                         ; +0x1a9, 0x140430619\nmov     [rsp+0D8h+var_68], 7Fh                                         ; +0x1b2, 0x140430622\nmovups  xmm0, xmmword ptr [rdi]                                        ; +0x1bb, 0x14043062b\nmovups  xmmword ptr [rax], xmm0                                        ; +0x1be, 0x14043062e\nmovups  xmm1, xmmword ptr [rdi+10h]                                    ; +0x1c1, 0x140430631\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x1c5, 0x140430635\nmovups  xmm0, xmmword ptr [rdi+20h]                                    ; +0x1c9, 0x140430639\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x1cd, 0x14043063d\nmovups  xmm1, xmmword ptr [rdi+30h]                                    ; +0x1d1, 0x140430641\nmovups  xmmword ptr [rax+30h], xmm1                                    ; +0x1d5, 0x140430645\nmovups  xmm0, xmmword ptr [rdi+40h]                                    ; +0x1d9, 0x140430649\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x1dd, 0x14043064d\nmovups  xmm1, xmmword ptr [rdi+50h]                                    ; +0x1e1, 0x140430651\nmovups  xmmword ptr [rax+50h], xmm1                                    ; +0x1e5, 0x140430655\nmovups  xmm0, xmmword ptr [rdi+60h]                                    ; +0x1e9, 0x140430659\nmovups  xmmword ptr [rax+60h], xmm0                                    ; +0x1ed, 0x14043065d\nmovups  xmm1, xmmword ptr [rdi+70h]                                    ; +0x1f1, 0x140430661\nmovups  xmmword ptr [rax+70h], xmm1                                    ; +0x1f5, 0x140430665\nlea     rax, [rsp+0D8h+var_80]                                         ; +0x1f9, 0x140430669\nmov     [rsp+0D8h+var_88], rax                                         ; +0x1fe, 0x14043066e\nlea     rdx, [rsp+0D8h+var_80]                                         ; +0x203, 0x140430673\nlea     rcx, [rsp+0D8h+var_58]                                         ; +0x208, 0x140430678\ncall    sub_14003F4F0                                                  ; +0x210, 0x140430680\nmovss   xmm0, cs:flt_140835080                                         ; +0x215, 0x140430685\nmovss   [rsp+0D8h+var_98], xmm0                                        ; +0x21d, 0x14043068d\nxorps   xmm1, xmm1                                                     ; +0x223, 0x140430693\nmovss   [rsp+0D8h+var_A0], xmm1                                        ; +0x226, 0x140430696\nmov     [rsp+0D8h+var_A8], 0                                           ; +0x22c, 0x14043069c\nmovss   xmm0, cs:dword_1408359A4                                       ; +0x231, 0x1404306a1\nmovss   [rsp+0D8h+var_B0], xmm0                                        ; +0x239, 0x1404306a9\nlea     rcx, aYes_0; \"YES\"                                             ; +0x23f, 0x1404306af\nmov     [rsp+0D8h+var_B8], rcx                                         ; +0x246, 0x1404306b6\nlea     r9, unk_14073A058                                              ; +0x24b, 0x1404306bb\nmov     r8, rax                                                        ; +0x252, 0x1404306c2\nlea     rdx, aRemoveServerLi; \"Remove Server List\"                     ; +0x255, 0x1404306c5\nmov     rcx, rbx                                                       ; +0x25c, 0x1404306cc\ncall    FLAlertLayer__create                                           ; +0x25f, 0x1404306cf\nmov     rbx, rax                                                       ; +0x264, 0x1404306d4\nlea     rcx, [rsp+0D8h+var_80]                                         ; +0x267, 0x1404306d7\ncall    sub_14003D310                                                  ; +0x26c, 0x1404306dc\nmov     r8, [rbx]                                                      ; +0x271, 0x1404306e1\nmov     edx, 3ECh                                                      ; +0x274, 0x1404306e4\nmov     rcx, rbx                                                       ; +0x279, 0x1404306e9\ncall    qword ptr [r8+40h]                                             ; +0x27c, 0x1404306ec\nmov     r8, [rbx]                                                      ; +0x280, 0x1404306f0\nmov     rcx, rbx                                                       ; +0x283, 0x1404306f3\ncall    qword ptr [r8+428h]                                            ; +0x286, 0x1404306f6\nnop                                                                    ; +0x28d, 0x1404306fd\nmov     edx, 80h                                                       ; +0x28e, 0x1404306fe\nmov     rcx, rdi; Block                                                ; +0x293, 0x140430703\ncall    j_j_free                                                       ; +0x296, 0x140430706\nmov     rcx, [rsp+0D8h+var_18]                                         ; +0x29b, 0x14043070b\nxor     rcx, rsp; StackCookie                                          ; +0x2a3, 0x140430713\ncall    __security_check_cookie                                        ; +0x2a6, 0x140430716\nlea     r11, [rsp+0D8h+var_8]                                          ; +0x2ab, 0x14043071b\nmov     rbx, [r11+18h]                                                 ; +0x2b3, 0x140430723\nmov     rbp, [r11+20h]                                                 ; +0x2b7, 0x140430727\nmov     rsi, [r11+28h]                                                 ; +0x2bb, 0x14043072b\nmov     rsp, r11                                                       ; +0x2bf, 0x14043072f\npop     rdi                                                            ; +0x2c2, 0x140430732\nretn                                                                   ; +0x2c3, 0x140430733", "xrefs": ["LevelListLayer::init @ 0x14042c630", "<???> @ 0x140926c54"], "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"}