{"type": "func", "start": 5372716032, "end": 5372716367, "name": "InfoLayer::commentUploadFailed", "pseudocode": "// \n// InfoLayer::commentUploadFailed from 0x1403d2400 to 0x1403d254f (335 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140785838\n// > <???> @ 0x140924770\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:31:35 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall InfoLayer::commentUploadFailed(__int64 a1, int a2, int a3)\n{\n  int v3; // r9d\n  __int64 result; // rax\n  __int64 v5; // rcx\n  __int64 v6; // rax\n  cocos2d::CCObject *v7; // rbx\n  __int128 v8; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v9; // [rsp+60h] [rbp-38h]\n  __int64 v10; // [rsp+68h] [rbp-30h]\n  _BYTE v11[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  v3 = a2;\n  result = *(_QWORD *)(a1 + 32);\n  if ( !result || *(_BYTE *)(a1 + 216) )\n  {\n    v5 = a1 - 672;\n    if ( result && *(_BYTE *)(v5 + 888) )\n      result = *(unsigned int *)(result + 392);\n    else\n      result = InfoLayer::getID((_QWORD *)v5);\n    if ( v3 == (_DWORD)result && a3 == -1 )\n    {\n      v8 = 0;\n      *(_QWORD *)&v8 = sub_14003D460(0x30u);\n      v9 = 46;\n      v10 = 47;\n      strcpy((char *)v8, \"Comment upload failed. Please try again later.\");\n      v6 = sub_14003F4F0((__int64)v11, (__int64)&v8);\n      v7 = FLAlertLayer::create(0, (int)\"Failed\", v6, (__int64)\"OK\", 0, 1132068864, 0, 0, 1065353216);\n      sub_14003D310((__int64)&v8);\n      return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v7 + 1064LL))(v7);\n    }\n  }\n  return result;\n}", "assembly": "; \n; InfoLayer::commentUploadFailed from 0x1403d2400 to 0x1403d254f (335 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140785838\n; > <???> @ 0x140924770\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:31:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403d2400\nsub     rsp, 90h                                                       ; +0x2, 0x1403d2402\nmov     r9d, edx                                                       ; +0x9, 0x1403d2409\nmov     rax, [rcx+20h]                                                 ; +0xc, 0x1403d240c\ntest    rax, rax                                                       ; +0x10, 0x1403d2410\njz      short loc_1403D2422                                            ; +0x13, 0x1403d2413\ncmp     byte ptr [rcx+0D8h], 0                                         ; +0x15, 0x1403d2415\njz      loc_1403D2546                                                  ; +0x1c, 0x1403d241c\nadd     rcx, 0FFFFFFFFFFFFFD60h                                        ; +0x22, 0x1403d2422\ntest    rax, rax                                                       ; +0x29, 0x1403d2429\njz      short loc_1403D243F                                            ; +0x2c, 0x1403d242c\ncmp     byte ptr [rcx+378h], 0                                         ; +0x2e, 0x1403d242e\njz      short loc_1403D243F                                            ; +0x35, 0x1403d2435\nmov     eax, [rax+188h]                                                ; +0x37, 0x1403d2437\njmp     short loc_1403D2444                                            ; +0x3d, 0x1403d243d\ncall    InfoLayer__getID                                               ; +0x3f, 0x1403d243f\ncmp     r9d, eax                                                       ; +0x44, 0x1403d2444\njnz     loc_1403D2546                                                  ; +0x47, 0x1403d2447\ncmp     r8d, 0FFFFFFFFh                                                ; +0x4d, 0x1403d244d\njnz     loc_1403D2546                                                  ; +0x51, 0x1403d2451\nxorps   xmm0, xmm0                                                     ; +0x57, 0x1403d2457\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x5a, 0x1403d245a\nxor     ebx, ebx                                                       ; +0x5f, 0x1403d245f\nmov     [rsp+98h+var_38], rbx                                          ; +0x61, 0x1403d2461\nmov     [rsp+98h+var_30], rbx                                          ; +0x66, 0x1403d2466\nmov     ecx, 30h ; '0'                                                 ; +0x6b, 0x1403d246b\ncall    sub_14003D460                                                  ; +0x70, 0x1403d2470\nmov     rdx, rax                                                       ; +0x75, 0x1403d2475\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x78, 0x1403d2478\nmov     [rsp+98h+var_38], 2Eh ; '.'                                    ; +0x7d, 0x1403d247d\nmov     [rsp+98h+var_30], 2Fh ; '/'                                    ; +0x86, 0x1403d2486\nmovups  xmm0, cs:xmmword_140785270                                     ; +0x8f, 0x1403d248f\nmovups  xmmword ptr [rax], xmm0                                        ; +0x96, 0x1403d2496\nmovups  xmm1, cs:xmmword_140785280                                     ; +0x99, 0x1403d2499\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0xa0, 0x1403d24a0\nmovsd   xmm0, cs:qword_140785290                                       ; +0xa4, 0x1403d24a4\nmovsd   qword ptr [rax+20h], xmm0                                      ; +0xac, 0x1403d24ac\nmov     ecx, cs:dword_140785298                                        ; +0xb1, 0x1403d24b1\nmov     [rax+28h], ecx                                                 ; +0xb7, 0x1403d24b7\nmovzx   eax, cs:word_14078529C                                         ; +0xba, 0x1403d24ba\nmov     [rdx+2Ch], ax                                                  ; +0xc1, 0x1403d24c1\nmov     [rdx+2Eh], bl                                                  ; +0xc5, 0x1403d24c5\nlea     rax, [rsp+98h+var_48]                                          ; +0xc8, 0x1403d24c8\nmov     [rsp+98h+arg_0], rax                                           ; +0xcd, 0x1403d24cd\nlea     rdx, [rsp+98h+var_48]                                          ; +0xd5, 0x1403d24d5\nlea     rcx, [rsp+98h+var_28]                                          ; +0xda, 0x1403d24da\ncall    sub_14003F4F0                                                  ; +0xdf, 0x1403d24df\nmovss   xmm0, cs:flt_140835080                                         ; +0xe4, 0x1403d24e4\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xec, 0x1403d24ec\nxorps   xmm1, xmm1                                                     ; +0xf2, 0x1403d24f2\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xf5, 0x1403d24f5\nmov     [rsp+98h+var_68], bl                                           ; +0xfb, 0x1403d24fb\nmovss   xmm0, cs:dword_14083595C                                       ; +0xff, 0x1403d24ff\nmovss   [rsp+98h+var_70], xmm0                                         ; +0x107, 0x1403d2507\nmov     [rsp+98h+var_78], rbx                                          ; +0x10d, 0x1403d250d\nlea     r9, aOk; \"OK\"                                                  ; +0x112, 0x1403d2512\nmov     r8, rax                                                        ; +0x119, 0x1403d2519\nlea     rdx, aFailed; \"Failed\"                                         ; +0x11c, 0x1403d251c\nxor     ecx, ecx                                                       ; +0x123, 0x1403d2523\ncall    FLAlertLayer__create                                           ; +0x125, 0x1403d2525\nmov     rbx, rax                                                       ; +0x12a, 0x1403d252a\nlea     rcx, [rsp+98h+var_48]                                          ; +0x12d, 0x1403d252d\ncall    sub_14003D310                                                  ; +0x132, 0x1403d2532\nmov     rcx, [rbx]                                                     ; +0x137, 0x1403d2537\nmov     rdx, [rcx+428h]                                                ; +0x13a, 0x1403d253a\nmov     rcx, rbx                                                       ; +0x141, 0x1403d2541\ncall    rdx                                                            ; +0x144, 0x1403d2544\nadd     rsp, 90h                                                       ; +0x146, 0x1403d2546\npop     rbx                                                            ; +0x14d, 0x1403d254d\nretn                                                                   ; +0x14e, 0x1403d254e", "xrefs": ["<???> @ 0x140785838", "<???> @ 0x140924770"], "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"}