{"type": "func", "start": 5373038816, "end": 5373039134, "name": "LevelInfoLayer::levelDeleteFinished", "pseudocode": "// \n// LevelInfoLayer::levelDeleteFinished from 0x1404210e0 to 0x14042121e (318 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14078c500\n// > <???> @ 0x14092681c\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:09 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall LevelInfoLayer::levelDeleteFinished(__int64 a1, int a2)\n{\n  __int64 result; // rax\n  __int64 v4; // rax\n  cocos2d::CCObject *v5; // rbx\n  __int128 v6; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v7; // [rsp+60h] [rbp-38h]\n  __int64 v8; // [rsp+68h] [rbp-30h]\n  _BYTE v9[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  result = *(_QWORD *)(a1 + 56);\n  if ( *(_DWORD *)(result + 328) - *(_DWORD *)(result + 332) == a2 )\n  {\n    v6 = 0;\n    *(_QWORD *)&v6 = sub_14003D460(0x30u);\n    v7 = 43;\n    v8 = 47;\n    strcpy((char *)v6, \"The level has been removed from the server.\");\n    v4 = sub_14003F4F0((__int64)v9, (__int64)&v6);\n    v5 = FLAlertLayer::create(0, (int)\"Level Deleted\", v4, (__int64)\"OK\", 0, 1133903872, 0, 0, 1065353216);\n    sub_14003D310((__int64)&v6);\n    (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v5 + 1064LL))(v5);\n    return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 200) + 336LL))(*(_QWORD *)(a1 + 200), 0);\n  }\n  return result;\n}", "assembly": "; \n; LevelInfoLayer::levelDeleteFinished from 0x1404210e0 to 0x14042121e (318 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14078c500\n; > <???> @ 0x14092681c\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:09 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1404210e0\npush    rdi                                                            ; +0x5, 0x1404210e5\nsub     rsp, 90h                                                       ; +0x6, 0x1404210e6\nmov     rdi, rcx                                                       ; +0xd, 0x1404210ed\nmov     rax, [rcx+38h]                                                 ; +0x10, 0x1404210f0\nmov     r8d, [rax+148h]                                                ; +0x14, 0x1404210f4\nsub     r8d, [rax+14Ch]                                                ; +0x1b, 0x1404210fb\ncmp     r8d, edx                                                       ; +0x22, 0x140421102\njnz     loc_14042120D                                                  ; +0x25, 0x140421105\nxorps   xmm0, xmm0                                                     ; +0x2b, 0x14042110b\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x2e, 0x14042110e\nxor     ebx, ebx                                                       ; +0x33, 0x140421113\nmov     [rsp+98h+var_38], rbx                                          ; +0x35, 0x140421115\nmov     [rsp+98h+var_30], rbx                                          ; +0x3a, 0x14042111a\nmov     ecx, 30h ; '0'                                                 ; +0x3f, 0x14042111f\ncall    sub_14003D460                                                  ; +0x44, 0x140421124\nmov     rdx, rax                                                       ; +0x49, 0x140421129\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x4c, 0x14042112c\nmov     [rsp+98h+var_38], 2Bh ; '+'                                    ; +0x51, 0x140421131\nmov     [rsp+98h+var_30], 2Fh ; '/'                                    ; +0x5a, 0x14042113a\nmovups  xmm0, cs:xmmword_14078C420                                     ; +0x63, 0x140421143\nmovups  xmmword ptr [rax], xmm0                                        ; +0x6a, 0x14042114a\nmovups  xmm1, cs:xmmword_14078C430                                     ; +0x6d, 0x14042114d\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x74, 0x140421154\nmovsd   xmm0, cs:qword_14078C440                                       ; +0x78, 0x140421158\nmovsd   qword ptr [rax+20h], xmm0                                      ; +0x80, 0x140421160\nmovzx   ecx, cs:word_14078C448                                         ; +0x85, 0x140421165\nmov     [rax+28h], cx                                                  ; +0x8c, 0x14042116c\nmovzx   eax, cs:byte_14078C44A                                         ; +0x90, 0x140421170\nmov     [rdx+2Ah], al                                                  ; +0x97, 0x140421177\nmov     [rdx+2Bh], bl                                                  ; +0x9a, 0x14042117a\nlea     rax, [rsp+98h+var_48]                                          ; +0x9d, 0x14042117d\nmov     [rsp+98h+arg_0], rax                                           ; +0xa2, 0x140421182\nlea     rdx, [rsp+98h+var_48]                                          ; +0xaa, 0x14042118a\nlea     rcx, [rsp+98h+var_28]                                          ; +0xaf, 0x14042118f\ncall    sub_14003F4F0                                                  ; +0xb4, 0x140421194\nmovss   xmm0, cs:flt_140835080                                         ; +0xb9, 0x140421199\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xc1, 0x1404211a1\nxorps   xmm1, xmm1                                                     ; +0xc7, 0x1404211a7\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xca, 0x1404211aa\nmov     [rsp+98h+var_68], bl                                           ; +0xd0, 0x1404211b0\nmovss   xmm0, cs:dword_1408359A4                                       ; +0xd4, 0x1404211b4\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xdc, 0x1404211bc\nmov     [rsp+98h+var_78], rbx                                          ; +0xe2, 0x1404211c2\nlea     r9, aOk; \"OK\"                                                  ; +0xe7, 0x1404211c7\nmov     r8, rax                                                        ; +0xee, 0x1404211ce\nlea     rdx, aLevelDeleted_0; \"Level Deleted\"                          ; +0xf1, 0x1404211d1\nxor     ecx, ecx                                                       ; +0xf8, 0x1404211d8\ncall    FLAlertLayer__create                                           ; +0xfa, 0x1404211da\nmov     rbx, rax                                                       ; +0xff, 0x1404211df\nlea     rcx, [rsp+98h+var_48]                                          ; +0x102, 0x1404211e2\ncall    sub_14003D310                                                  ; +0x107, 0x1404211e7\nmov     rcx, [rbx]                                                     ; +0x10c, 0x1404211ec\nmov     rdx, [rcx+428h]                                                ; +0x10f, 0x1404211ef\nmov     rcx, rbx                                                       ; +0x116, 0x1404211f6\ncall    rdx                                                            ; +0x119, 0x1404211f9\nmov     rcx, [rdi+0C8h]                                                ; +0x11b, 0x1404211fb\nmov     rax, [rcx]                                                     ; +0x122, 0x140421202\nxor     edx, edx                                                       ; +0x125, 0x140421205\ncall    qword ptr [rax+150h]                                           ; +0x127, 0x140421207\nmov     rbx, [rsp+98h+arg_8]                                           ; +0x12d, 0x14042120d\nadd     rsp, 90h                                                       ; +0x135, 0x140421215\npop     rdi                                                            ; +0x13c, 0x14042121c\nretn                                                                   ; +0x13d, 0x14042121d", "xrefs": ["<???> @ 0x14078c500", "<???> @ 0x14092681c"], "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"}