{"type": "func", "start": 5373037824, "end": 5373038137, "name": "LevelInfoLayer::levelDownloadFailed", "pseudocode": "// \n// LevelInfoLayer::levelDownloadFailed from 0x140420d00 to 0x140420e39 (313 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x14078cac8\n// > <???> @ 0x1409267e0\n// > <???> @ 0x1409267ec\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::levelDownloadFailed(__int64 a1)\n{\n  __int64 v1; // rdi\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 - 408;\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 - 408 + 648) + 336LL))(*(_QWORD *)(a1 - 408 + 648), 0);\n  v5 = 0;\n  *(_QWORD *)&v5 = sub_14003D460(0x30u);\n  v6 = 46;\n  v7 = 47;\n  strcpy((char *)v5, \"Level download failed, please try again later.\");\n  v2 = sub_14003F4F0((__int64)v8, (__int64)&v5);\n  v3 = FLAlertLayer::create(0, (int)\"Error\", v2, (__int64)\"OK\", 0, 1133903872, 0, 0, 1065353216);\n  sub_14003D310((__int64)&v5);\n  *((_QWORD *)v3 + 71) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 504LL))(v1);\n  return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL))(v3);\n}", "assembly": "; \n; LevelInfoLayer::levelDownloadFailed from 0x140420d00 to 0x140420e39 (313 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x14078cac8\n; > <???> @ 0x1409267e0\n; > <???> @ 0x1409267ec\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, 0x140420d00\npush    rdi                                                            ; +0x5, 0x140420d05\nsub     rsp, 90h                                                       ; +0x6, 0x140420d06\nlea     rdi, [rcx-198h]                                                ; +0xd, 0x140420d0d\nmov     rcx, [rdi+288h]                                                ; +0x14, 0x140420d14\nmov     rax, [rcx]                                                     ; +0x1b, 0x140420d1b\nxor     edx, edx                                                       ; +0x1e, 0x140420d1e\ncall    qword ptr [rax+150h]                                           ; +0x20, 0x140420d20\nxorps   xmm0, xmm0                                                     ; +0x26, 0x140420d26\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x29, 0x140420d29\nxor     ebx, ebx                                                       ; +0x2e, 0x140420d2e\nmov     [rsp+98h+var_38], rbx                                          ; +0x30, 0x140420d30\nmov     [rsp+98h+var_30], rbx                                          ; +0x35, 0x140420d35\nmov     ecx, 30h ; '0'                                                 ; +0x3a, 0x140420d3a\ncall    sub_14003D460                                                  ; +0x3f, 0x140420d3f\nmov     rdx, rax                                                       ; +0x44, 0x140420d44\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x47, 0x140420d47\nmov     [rsp+98h+var_38], 2Eh ; '.'                                    ; +0x4c, 0x140420d4c\nmov     [rsp+98h+var_30], 2Fh ; '/'                                    ; +0x55, 0x140420d55\nmovups  xmm0, cs:xmmword_14078C270                                     ; +0x5e, 0x140420d5e\nmovups  xmmword ptr [rax], xmm0                                        ; +0x65, 0x140420d65\nmovups  xmm1, cs:xmmword_14078C280                                     ; +0x68, 0x140420d68\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x6f, 0x140420d6f\nmovsd   xmm0, cs:qword_14078C290                                       ; +0x73, 0x140420d73\nmovsd   qword ptr [rax+20h], xmm0                                      ; +0x7b, 0x140420d7b\nmov     ecx, cs:dword_14078C298                                        ; +0x80, 0x140420d80\nmov     [rax+28h], ecx                                                 ; +0x86, 0x140420d86\nmovzx   eax, cs:word_14078C29C                                         ; +0x89, 0x140420d89\nmov     [rdx+2Ch], ax                                                  ; +0x90, 0x140420d90\nmov     [rdx+2Eh], bl                                                  ; +0x94, 0x140420d94\nlea     rax, [rsp+98h+var_48]                                          ; +0x97, 0x140420d97\nmov     [rsp+98h+arg_0], rax                                           ; +0x9c, 0x140420d9c\nlea     rdx, [rsp+98h+var_48]                                          ; +0xa4, 0x140420da4\nlea     rcx, [rsp+98h+var_28]                                          ; +0xa9, 0x140420da9\ncall    sub_14003F4F0                                                  ; +0xae, 0x140420dae\nmovss   xmm0, cs:flt_140835080                                         ; +0xb3, 0x140420db3\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xbb, 0x140420dbb\nxorps   xmm1, xmm1                                                     ; +0xc1, 0x140420dc1\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xc4, 0x140420dc4\nmov     [rsp+98h+var_68], bl                                           ; +0xca, 0x140420dca\nmovss   xmm0, cs:dword_1408359A4                                       ; +0xce, 0x140420dce\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xd6, 0x140420dd6\nmov     [rsp+98h+var_78], rbx                                          ; +0xdc, 0x140420ddc\nlea     r9, aOk; \"OK\"                                                  ; +0xe1, 0x140420de1\nmov     r8, rax                                                        ; +0xe8, 0x140420de8\nlea     rdx, aError; \"Error\"                                           ; +0xeb, 0x140420deb\nxor     ecx, ecx                                                       ; +0xf2, 0x140420df2\ncall    FLAlertLayer__create                                           ; +0xf4, 0x140420df4\nmov     rbx, rax                                                       ; +0xf9, 0x140420df9\nlea     rcx, [rsp+98h+var_48]                                          ; +0xfc, 0x140420dfc\ncall    sub_14003D310                                                  ; +0x101, 0x140420e01\nmov     rdx, [rdi]                                                     ; +0x106, 0x140420e06\nmov     rcx, rdi                                                       ; +0x109, 0x140420e09\ncall    qword ptr [rdx+1F8h]                                           ; +0x10c, 0x140420e0c\nmov     [rbx+238h], rax                                                ; +0x112, 0x140420e12\nmov     rcx, [rbx]                                                     ; +0x119, 0x140420e19\nmov     rdx, [rcx+428h]                                                ; +0x11c, 0x140420e1c\nmov     rcx, rbx                                                       ; +0x123, 0x140420e23\ncall    rdx                                                            ; +0x126, 0x140420e26\nmov     rbx, [rsp+98h+arg_8]                                           ; +0x128, 0x140420e28\nadd     rsp, 90h                                                       ; +0x130, 0x140420e30\npop     rdi                                                            ; +0x137, 0x140420e37\nretn                                                                   ; +0x138, 0x140420e38", "xrefs": ["<???> @ 0x14078cac8", "<???> @ 0x1409267e0", "<???> @ 0x1409267ec"], "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"}