{"type": "func", "start": 5370398240, "end": 5370398622, "name": "EditorSoundConfigUploadPopup::uploadEditorSoundFailed", "pseudocode": "// \n// EditorSoundConfigUploadPopup::uploadEditorSoundFailed from 0x14019c620 to 0x14019c79e (382 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14074ef30\n// > <???> @ 0x140919718\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:27:47 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall EditorSoundConfigUploadPopup::uploadEditorSoundFailed(__int64 a1, __int64 a2)\n{\n  int v2; // edi\n  __int64 v4; // rcx\n  __int64 v5; // rcx\n  __int64 v6; // rcx\n  __int64 v7; // rcx\n  __int64 v8; // rcx\n  __int64 v9; // rax\n  cocos2d::CCObject *v10; // rbx\n  __int128 v11; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v12; // [rsp+60h] [rbp-38h]\n  __int64 v13; // [rsp+68h] [rbp-30h]\n  _BYTE v14[32]; // [rsp+70h] [rbp-28h] BYREF\n\n  v2 = a2;\n  *(_BYTE *)(a1 + 40) = 0;\n  v4 = *(_QWORD *)(a1 + 8);\n  if ( v4 )\n    LoadingCircle::fadeAndRemove(v4);\n  *(_QWORD *)(a1 + 8) = 0;\n  v5 = *(_QWORD *)(a1 + 16);\n  if ( v5 )\n  {\n    LOBYTE(a2) = 1;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 336LL))(v5, a2);\n  }\n  v6 = *(_QWORD *)(a1 + 24);\n  if ( v6 )\n  {\n    LOBYTE(a2) = 1;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 336LL))(v6, a2);\n  }\n  v7 = *(_QWORD *)(a1 + 32);\n  if ( v7 )\n  {\n    LOBYTE(a2) = 1;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 336LL))(v7, a2);\n  }\n  v8 = *(_QWORD *)(a1 + 96);\n  if ( v8 )\n  {\n    LOBYTE(a2) = 1;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 336LL))(v8, a2);\n  }\n  if ( v2 == -1 )\n  {\n    v11 = 0;\n    *(_QWORD *)&v11 = sub_14003D460(0x30u);\n    v12 = 44;\n    v13 = 47;\n    strcpy((char *)v11, \"Could not reach the server. Try again later.\");\n    v9 = sub_14003F4F0((__int64)v14, (__int64)&v11);\n    v10 = FLAlertLayer::create(0, (int)\"Upload Failed\", v9, (__int64)\"OK\", 0, 1132068864, 0, 0, 1065353216);\n    sub_14003D310((__int64)&v11);\n    (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v10 + 1064LL))(v10);\n  }\n}", "assembly": "; \n; EditorSoundConfigUploadPopup::uploadEditorSoundFailed from 0x14019c620 to 0x14019c79e (382 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14074ef30\n; > <???> @ 0x140919718\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:27:47 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x14019c620\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x14019c625\npush    rdi                                                            ; +0xa, 0x14019c62a\nsub     rsp, 90h                                                       ; +0xb, 0x14019c62b\nmov     edi, edx                                                       ; +0x12, 0x14019c632\nmov     rbx, rcx                                                       ; +0x14, 0x14019c634\nmov     byte ptr [rcx+28h], 0                                          ; +0x17, 0x14019c637\nmov     rcx, [rcx+8]                                                   ; +0x1b, 0x14019c63b\ntest    rcx, rcx                                                       ; +0x1f, 0x14019c63f\njz      short loc_14019C649                                            ; +0x22, 0x14019c642\ncall    LoadingCircle__fadeAndRemove                                   ; +0x24, 0x14019c644\nxor     esi, esi                                                       ; +0x29, 0x14019c649\nmov     [rbx+8], rsi                                                   ; +0x2b, 0x14019c64b\nmov     rcx, [rbx+10h]                                                 ; +0x2f, 0x14019c64f\ntest    rcx, rcx                                                       ; +0x33, 0x14019c653\njz      short loc_14019C663                                            ; +0x36, 0x14019c656\nmov     rax, [rcx]                                                     ; +0x38, 0x14019c658\nmov     dl, 1                                                          ; +0x3b, 0x14019c65b\ncall    qword ptr [rax+150h]                                           ; +0x3d, 0x14019c65d\nmov     rcx, [rbx+18h]                                                 ; +0x43, 0x14019c663\ntest    rcx, rcx                                                       ; +0x47, 0x14019c667\njz      short loc_14019C677                                            ; +0x4a, 0x14019c66a\nmov     rax, [rcx]                                                     ; +0x4c, 0x14019c66c\nmov     dl, 1                                                          ; +0x4f, 0x14019c66f\ncall    qword ptr [rax+150h]                                           ; +0x51, 0x14019c671\nmov     rcx, [rbx+20h]                                                 ; +0x57, 0x14019c677\ntest    rcx, rcx                                                       ; +0x5b, 0x14019c67b\njz      short loc_14019C68B                                            ; +0x5e, 0x14019c67e\nmov     rax, [rcx]                                                     ; +0x60, 0x14019c680\nmov     dl, 1                                                          ; +0x63, 0x14019c683\ncall    qword ptr [rax+150h]                                           ; +0x65, 0x14019c685\nmov     rcx, [rbx+60h]                                                 ; +0x6b, 0x14019c68b\ntest    rcx, rcx                                                       ; +0x6f, 0x14019c68f\njz      short loc_14019C69F                                            ; +0x72, 0x14019c692\nmov     rax, [rcx]                                                     ; +0x74, 0x14019c694\nmov     dl, 1                                                          ; +0x77, 0x14019c697\ncall    qword ptr [rax+150h]                                           ; +0x79, 0x14019c699\ncmp     edi, 0FFFFFFFFh                                                ; +0x7f, 0x14019c69f\njnz     loc_14019C789                                                  ; +0x82, 0x14019c6a2\nxorps   xmm0, xmm0                                                     ; +0x88, 0x14019c6a8\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x8b, 0x14019c6ab\nmov     [rsp+98h+var_38], rsi                                          ; +0x90, 0x14019c6b0\nmov     [rsp+98h+var_30], rsi                                          ; +0x95, 0x14019c6b5\nmov     ecx, 30h ; '0'                                                 ; +0x9a, 0x14019c6ba\ncall    sub_14003D460                                                  ; +0x9f, 0x14019c6bf\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0xa4, 0x14019c6c4\nmov     [rsp+98h+var_38], 2Ch ; ','                                    ; +0xa9, 0x14019c6c9\nmov     [rsp+98h+var_30], 2Fh ; '/'                                    ; +0xb2, 0x14019c6d2\nmovups  xmm0, cs:xmmword_14074E770                                     ; +0xbb, 0x14019c6db\nmovups  xmmword ptr [rax], xmm0                                        ; +0xc2, 0x14019c6e2\nmovups  xmm1, cs:xmmword_14074E780                                     ; +0xc5, 0x14019c6e5\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0xcc, 0x14019c6ec\nmovsd   xmm0, cs:qword_14074E790                                       ; +0xd0, 0x14019c6f0\nmovsd   qword ptr [rax+20h], xmm0                                      ; +0xd8, 0x14019c6f8\nmov     ecx, cs:dword_14074E798                                        ; +0xdd, 0x14019c6fd\nmov     [rax+28h], ecx                                                 ; +0xe3, 0x14019c703\nmov     [rax+2Ch], sil                                                 ; +0xe6, 0x14019c706\nlea     rax, [rsp+98h+var_48]                                          ; +0xea, 0x14019c70a\nmov     [rsp+98h+arg_0], rax                                           ; +0xef, 0x14019c70f\nlea     rdx, [rsp+98h+var_48]                                          ; +0xf7, 0x14019c717\nlea     rcx, [rsp+98h+var_28]                                          ; +0xfc, 0x14019c71c\ncall    sub_14003F4F0                                                  ; +0x101, 0x14019c721\nmovss   xmm0, cs:flt_140835080                                         ; +0x106, 0x14019c726\nmovss   [rsp+98h+var_58], xmm0                                         ; +0x10e, 0x14019c72e\nxorps   xmm1, xmm1                                                     ; +0x114, 0x14019c734\nmovss   [rsp+98h+var_60], xmm1                                         ; +0x117, 0x14019c737\nmov     [rsp+98h+var_68], 0                                            ; +0x11d, 0x14019c73d\nmovss   xmm0, cs:dword_14083595C                                       ; +0x122, 0x14019c742\nmovss   [rsp+98h+var_70], xmm0                                         ; +0x12a, 0x14019c74a\nmov     [rsp+98h+var_78], rsi                                          ; +0x130, 0x14019c750\nlea     r9, aOk; \"OK\"                                                  ; +0x135, 0x14019c755\nmov     r8, rax                                                        ; +0x13c, 0x14019c75c\nlea     rdx, aUploadFailed; \"Upload Failed\"                            ; +0x13f, 0x14019c75f\nxor     ecx, ecx                                                       ; +0x146, 0x14019c766\ncall    FLAlertLayer__create                                           ; +0x148, 0x14019c768\nmov     rbx, rax                                                       ; +0x14d, 0x14019c76d\nlea     rcx, [rsp+98h+var_48]                                          ; +0x150, 0x14019c770\ncall    sub_14003D310                                                  ; +0x155, 0x14019c775\nmov     rcx, [rbx]                                                     ; +0x15a, 0x14019c77a\nmov     rdx, [rcx+428h]                                                ; +0x15d, 0x14019c77d\nmov     rcx, rbx                                                       ; +0x164, 0x14019c784\ncall    rdx                                                            ; +0x167, 0x14019c787\nlea     r11, [rsp+98h+var_8]                                           ; +0x169, 0x14019c789\nmov     rbx, [r11+18h]                                                 ; +0x171, 0x14019c791\nmov     rsi, [r11+28h]                                                 ; +0x175, 0x14019c795\nmov     rsp, r11                                                       ; +0x179, 0x14019c799\npop     rdi                                                            ; +0x17c, 0x14019c79c\nretn                                                                   ; +0x17d, 0x14019c79d", "xrefs": ["<???> @ 0x14074ef30", "<???> @ 0x140919718"], "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"}