{"type": "func", "start": 5371838560, "end": 5371838858, "name": "LevelInfoLayer::levelUpdateFailed", "pseudocode": "// \n// LevelInfoLayer::levelUpdateFailed from 0x1402fc060 to 0x1402fc18a (298 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140586d88\n// > <???> @ 0x1406d41b4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nvoid LevelInfoLayer::levelUpdateFailed(LevelInfoLayer *a1, int a2)\n{\n  __int64 v3; // rax\n  FLAlertLayer *v4; // rbx\n  __int64 v5; // rdx\n  __int64 v6; // rcx\n  __int128 v7; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v8; // [rsp+60h] [rbp-38h]\n  __int64 v9; // [rsp+68h] [rbp-30h]\n  _BYTE v10[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  v7 = 0;\n  *(_QWORD *)&v7 = sub_14003AA10(0x30u);\n  v8 = 44;\n  v9 = 47;\n  strcpy((char *)v7, \"Level update failed, please try again later.\");\n  v3 = sub_14003BDB0((__int64)v10, (__int64)&v7);\n  v4 = FLAlertLayer::create(0, (int)\"Error\", v3, (__int64)\"OK\", 0, 1133903872, 0, 0, 1065353216);\n  sub_14003A830((__int64)&v7);\n  v4->m_scene = *(cocos2d::CCNode **)(cocos2d::CCApplication::sharedApplication(v6, v5) + 224);\n  v4->show(v4);\n  a1->m_pParent->setVisible(a1->m_pParent, 0);\n}", "assembly": "; \n; LevelInfoLayer::levelUpdateFailed from 0x1402fc060 to 0x1402fc18a (298 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140586d88\n; > <???> @ 0x1406d41b4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1402fc060\npush    rdi                                                            ; +0x5, 0x1402fc065\nsub     rsp, 90h                                                       ; +0x6, 0x1402fc066\nmov     rdi, rcx                                                       ; +0xd, 0x1402fc06d\nxorps   xmm0, xmm0                                                     ; +0x10, 0x1402fc070\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x13, 0x1402fc073\nxor     ebx, ebx                                                       ; +0x18, 0x1402fc078\nmov     [rsp+98h+var_38], rbx                                          ; +0x1a, 0x1402fc07a\nmov     [rsp+98h+var_30], 0Fh                                          ; +0x1f, 0x1402fc07f\nlea     ecx, [rbx+30h]                                                 ; +0x28, 0x1402fc088\ncall    sub_14003AA10                                                  ; +0x2b, 0x1402fc08b\nmov     rdx, rax                                                       ; +0x30, 0x1402fc090\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x33, 0x1402fc093\nmov     [rsp+98h+var_38], 2Ch ; ','                                    ; +0x38, 0x1402fc098\nmov     [rsp+98h+var_30], 2Fh ; '/'                                    ; +0x41, 0x1402fc0a1\nmovups  xmm0, cs:xmmword_140587378                                     ; +0x4a, 0x1402fc0aa\nmovups  xmmword ptr [rax], xmm0                                        ; +0x51, 0x1402fc0b1\nmovups  xmm1, cs:xmmword_140587388                                     ; +0x54, 0x1402fc0b4\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x5b, 0x1402fc0bb\nmovsd   xmm0, cs:qword_140587398                                       ; +0x5f, 0x1402fc0bf\nmovsd   qword ptr [rax+20h], xmm0                                      ; +0x67, 0x1402fc0c7\nmov     eax, cs:dword_1405873A0                                        ; +0x6c, 0x1402fc0cc\nmov     [rdx+28h], eax                                                 ; +0x72, 0x1402fc0d2\nmov     [rdx+2Ch], bl                                                  ; +0x75, 0x1402fc0d5\nlea     rax, [rsp+98h+var_48]                                          ; +0x78, 0x1402fc0d8\nmov     [rsp+98h+arg_10], rax                                          ; +0x7d, 0x1402fc0dd\nlea     rdx, [rsp+98h+var_48]                                          ; +0x85, 0x1402fc0e5\nlea     rcx, [rsp+98h+var_28]                                          ; +0x8a, 0x1402fc0ea\ncall    sub_14003BDB0                                                  ; +0x8f, 0x1402fc0ef\nmovss   xmm0, cs:flt_140622C24                                         ; +0x94, 0x1402fc0f4\nmovss   [rsp+98h+var_58], xmm0                                         ; +0x9c, 0x1402fc0fc\nxorps   xmm1, xmm1                                                     ; +0xa2, 0x1402fc102\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xa5, 0x1402fc105\nmov     [rsp+98h+var_68], bl                                           ; +0xab, 0x1402fc10b\nmovss   xmm0, cs:dword_14062343C                                       ; +0xaf, 0x1402fc10f\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xb7, 0x1402fc117\nmov     [rsp+98h+var_78], rbx                                          ; +0xbd, 0x1402fc11d\nlea     r9, aOk; \"OK\"                                                  ; +0xc2, 0x1402fc122\nmov     r8, rax                                                        ; +0xc9, 0x1402fc129\nlea     rdx, aError; \"Error\"                                           ; +0xcc, 0x1402fc12c\nxor     ecx, ecx                                                       ; +0xd3, 0x1402fc133\ncall    FLAlertLayer__create                                           ; +0xd5, 0x1402fc135\nmov     rbx, rax                                                       ; +0xda, 0x1402fc13a\nlea     rcx, [rsp+98h+var_48]                                          ; +0xdd, 0x1402fc13d\ncall    sub_14003A830                                                  ; +0xe2, 0x1402fc142\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0xe7, 0x1402fc147\nmov     rcx, [rax+0E0h]                                                ; +0xed, 0x1402fc14d\nmov     [rbx+230h], rcx                                                ; +0xf4, 0x1402fc154\nmov     rdx, [rbx]                                                     ; +0xfb, 0x1402fc15b\nmov     rcx, rbx                                                       ; +0xfe, 0x1402fc15e\ncall    qword ptr [rdx+410h]                                           ; +0x101, 0x1402fc161\nmov     rcx, [rdi+0D8h]                                                ; +0x107, 0x1402fc167\nmov     rax, [rcx]                                                     ; +0x10e, 0x1402fc16e\nxor     edx, edx                                                       ; +0x111, 0x1402fc171\nmov     rbx, [rsp+98h+arg_0]                                           ; +0x113, 0x1402fc173\nadd     rsp, 90h                                                       ; +0x11b, 0x1402fc17b\npop     rdi                                                            ; +0x122, 0x1402fc182\njmp     qword ptr [rax+140h]                                           ; +0x123, 0x1402fc183", "xrefs": ["<???> @ 0x140586d88", "<???> @ 0x1406d41b4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}