{"type": "func", "start": 5373038496, "end": 5373038810, "name": "LevelInfoLayer::levelUpdateFailed", "pseudocode": "// \n// LevelInfoLayer::levelUpdateFailed from 0x140420fa0 to 0x1404210da (314 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14078c668\n// > <???> @ 0x140926810\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::levelUpdateFailed(__int64 a1)\n{\n  __int64 v2; // rax\n  cocos2d::CCObject *v3; // rbx\n  __int64 v4; // rdx\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  v6 = 0;\n  *(_QWORD *)&v6 = sub_14003D460(0x30u);\n  v7 = 44;\n  v8 = 47;\n  strcpy((char *)v6, \"Level update failed, please try again later.\");\n  v2 = sub_14003F4F0((__int64)v9, (__int64)&v6);\n  v3 = FLAlertLayer::create(0, (int)\"Error\", v2, (__int64)\"OK\", 0, 1133903872, 0, 0, 1065353216);\n  sub_14003D310((__int64)&v6);\n  *((_QWORD *)v3 + 71) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 416) + 504LL))(a1 - 416);\n  (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL))(v3);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 232) + 336LL))(*(_QWORD *)(a1 + 232), 0);\n  LOBYTE(v4) = 1;\n  return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 80) + 336LL))(*(_QWORD *)(a1 + 80), v4);\n}", "assembly": "; \n; LevelInfoLayer::levelUpdateFailed from 0x140420fa0 to 0x1404210da (314 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14078c668\n; > <???> @ 0x140926810\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_0], rbx                                               ; +0x0, 0x140420fa0\npush    rdi                                                            ; +0x5, 0x140420fa5\nsub     rsp, 90h                                                       ; +0x6, 0x140420fa6\nmov     rdi, rcx                                                       ; +0xd, 0x140420fad\nxorps   xmm0, xmm0                                                     ; +0x10, 0x140420fb0\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x13, 0x140420fb3\nxor     ebx, ebx                                                       ; +0x18, 0x140420fb8\nmov     [rsp+98h+var_38], rbx                                          ; +0x1a, 0x140420fba\nmov     [rsp+98h+var_30], rbx                                          ; +0x1f, 0x140420fbf\nmov     ecx, 30h ; '0'                                                 ; +0x24, 0x140420fc4\ncall    sub_14003D460                                                  ; +0x29, 0x140420fc9\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x2e, 0x140420fce\nmov     [rsp+98h+var_38], 2Ch ; ','                                    ; +0x33, 0x140420fd3\nmov     [rsp+98h+var_30], 2Fh ; '/'                                    ; +0x3c, 0x140420fdc\nmovups  xmm0, cs:xmmword_14078C3F0                                     ; +0x45, 0x140420fe5\nmovups  xmmword ptr [rax], xmm0                                        ; +0x4c, 0x140420fec\nmovups  xmm1, cs:xmmword_14078C400                                     ; +0x4f, 0x140420fef\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x56, 0x140420ff6\nmovsd   xmm0, cs:qword_14078C410                                       ; +0x5a, 0x140420ffa\nmovsd   qword ptr [rax+20h], xmm0                                      ; +0x62, 0x140421002\nmov     ecx, cs:dword_14078C418                                        ; +0x67, 0x140421007\nmov     [rax+28h], ecx                                                 ; +0x6d, 0x14042100d\nmov     [rax+2Ch], bl                                                  ; +0x70, 0x140421010\nlea     rax, [rsp+98h+var_48]                                          ; +0x73, 0x140421013\nmov     [rsp+98h+arg_10], rax                                          ; +0x78, 0x140421018\nlea     rdx, [rsp+98h+var_48]                                          ; +0x80, 0x140421020\nlea     rcx, [rsp+98h+var_28]                                          ; +0x85, 0x140421025\ncall    sub_14003F4F0                                                  ; +0x8a, 0x14042102a\nmovss   xmm0, cs:flt_140835080                                         ; +0x8f, 0x14042102f\nmovss   [rsp+98h+var_58], xmm0                                         ; +0x97, 0x140421037\nxorps   xmm1, xmm1                                                     ; +0x9d, 0x14042103d\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xa0, 0x140421040\nmov     [rsp+98h+var_68], bl                                           ; +0xa6, 0x140421046\nmovss   xmm0, cs:dword_1408359A4                                       ; +0xaa, 0x14042104a\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xb2, 0x140421052\nmov     [rsp+98h+var_78], rbx                                          ; +0xb8, 0x140421058\nlea     r9, aOk; \"OK\"                                                  ; +0xbd, 0x14042105d\nmov     r8, rax                                                        ; +0xc4, 0x140421064\nlea     rdx, aError; \"Error\"                                           ; +0xc7, 0x140421067\nxor     ecx, ecx                                                       ; +0xce, 0x14042106e\ncall    FLAlertLayer__create                                           ; +0xd0, 0x140421070\nmov     rbx, rax                                                       ; +0xd5, 0x140421075\nlea     rcx, [rsp+98h+var_48]                                          ; +0xd8, 0x140421078\ncall    sub_14003D310                                                  ; +0xdd, 0x14042107d\nlea     rcx, [rdi-1A0h]                                                ; +0xe2, 0x140421082\nmov     rdx, [rcx]                                                     ; +0xe9, 0x140421089\ncall    qword ptr [rdx+1F8h]                                           ; +0xec, 0x14042108c\nmov     [rbx+238h], rax                                                ; +0xf2, 0x140421092\nmov     rcx, [rbx]                                                     ; +0xf9, 0x140421099\nmov     rdx, [rcx+428h]                                                ; +0xfc, 0x14042109c\nmov     rcx, rbx                                                       ; +0x103, 0x1404210a3\ncall    rdx                                                            ; +0x106, 0x1404210a6\nmov     rcx, [rdi+0E8h]                                                ; +0x108, 0x1404210a8\nmov     rax, [rcx]                                                     ; +0x10f, 0x1404210af\nxor     edx, edx                                                       ; +0x112, 0x1404210b2\ncall    qword ptr [rax+150h]                                           ; +0x114, 0x1404210b4\nmov     rcx, [rdi+50h]                                                 ; +0x11a, 0x1404210ba\nmov     rax, [rcx]                                                     ; +0x11e, 0x1404210be\nmov     dl, 1                                                          ; +0x121, 0x1404210c1\nmov     rbx, [rsp+98h+arg_0]                                           ; +0x123, 0x1404210c3\nadd     rsp, 90h                                                       ; +0x12b, 0x1404210cb\npop     rdi                                                            ; +0x132, 0x1404210d2\njmp     qword ptr [rax+150h]                                           ; +0x133, 0x1404210d3", "xrefs": ["<???> @ 0x14078c668", "<???> @ 0x140926810"], "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"}