{"type": "func", "start": 5373016272, "end": 5373016477, "name": "GJRateLevelLayer::uploadActionFailed", "pseudocode": "// \n// GJRateLevelLayer::uploadActionFailed from 0x14041b8d0 to 0x14041b99d (205 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x14078bb58\n// > <???> @ 0x1408c8b14\n// > <???> @ 0x1408c8b24\n// > <???> @ 0x1409266cc\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:06 +0000\n// \n\n__int64 __fastcall GJRateLevelLayer::uploadActionFailed(__int64 a1, int a2)\n{\n  __int64 result; // rax\n  __int128 v4; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v5; // [rsp+30h] [rbp-18h]\n  __int64 v6; // [rsp+38h] [rbp-10h]\n\n  result = *(_QWORD *)(a1 + 24);\n  if ( a2 == *(_DWORD *)(result + 328) - *(_DWORD *)(result + 332) )\n  {\n    if ( *(_QWORD *)(a1 + 72) )\n    {\n      v4 = 0;\n      *(_QWORD *)&v4 = sub_14003D460(0x20u);\n      v5 = 31;\n      v6 = 31;\n      strcpy((char *)v4, \"Failed. Please try again later.\");\n      UploadActionPopup::showFailMessage(*(_QWORD *)(a1 + 72), &v4);\n      result = *(_QWORD *)(a1 + 72);\n      *(_QWORD *)(result + 664) = 0;\n      *(_QWORD *)(a1 + 72) = 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJRateLevelLayer::uploadActionFailed from 0x14041b8d0 to 0x14041b99d (205 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x14078bb58\n; > <???> @ 0x1408c8b14\n; > <???> @ 0x1408c8b24\n; > <???> @ 0x1409266cc\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:06 +0000\n; \npush    rbx                                                            ; +0x0, 0x14041b8d0\nsub     rsp, 40h                                                       ; +0x2, 0x14041b8d2\nmov     rax, [rcx+18h]                                                 ; +0x6, 0x14041b8d6\nmov     rbx, rcx                                                       ; +0xa, 0x14041b8da\nmov     r8d, [rax+148h]                                                ; +0xd, 0x14041b8dd\nsub     r8d, [rax+14Ch]                                                ; +0x14, 0x14041b8e4\ncmp     edx, r8d                                                       ; +0x1b, 0x14041b8eb\njnz     loc_14041B997                                                  ; +0x1e, 0x14041b8ee\ncmp     qword ptr [rcx+48h], 0                                         ; +0x24, 0x14041b8f4\njz      loc_14041B997                                                  ; +0x29, 0x14041b8f9\nxorps   xmm0, xmm0                                                     ; +0x2f, 0x14041b8ff\nmov     [rsp+48h+arg_8], rdi                                           ; +0x32, 0x14041b902\nxor     edi, edi                                                       ; +0x37, 0x14041b907\nmov     ecx, 20h ; ' '                                                 ; +0x39, 0x14041b909\nmov     [rsp+48h+var_18], rdi                                          ; +0x3e, 0x14041b90e\nmov     [rsp+48h+var_10], rdi                                          ; +0x43, 0x14041b913\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x48, 0x14041b918\ncall    sub_14003D460                                                  ; +0x4d, 0x14041b91d\nmovups  xmm0, cs:xmmword_14071F8B8                                     ; +0x52, 0x14041b922\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x59, 0x14041b929\nmov     rdx, rax                                                       ; +0x5e, 0x14041b92e\nmov     [rsp+48h+var_18], 1Fh                                          ; +0x61, 0x14041b931\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x6a, 0x14041b93a\nmovups  xmmword ptr [rax], xmm0                                        ; +0x73, 0x14041b943\nmovsd   xmm0, cs:qword_14071F8C8                                       ; +0x76, 0x14041b946\nmovsd   qword ptr [rax+10h], xmm0                                      ; +0x7e, 0x14041b94e\nmov     ecx, cs:dword_14071F8D0                                        ; +0x83, 0x14041b953\nmov     [rax+18h], ecx                                                 ; +0x89, 0x14041b959\nmovzx   eax, cs:word_14071F8D4                                         ; +0x8c, 0x14041b95c\nmov     [rdx+1Ch], ax                                                  ; +0x93, 0x14041b963\nmovzx   eax, cs:byte_14071F8D6                                         ; +0x97, 0x14041b967\nmov     [rdx+1Eh], al                                                  ; +0x9e, 0x14041b96e\nmov     [rdx+1Fh], dil                                                 ; +0xa1, 0x14041b971\nlea     rdx, [rsp+48h+var_28]                                          ; +0xa5, 0x14041b975\nmov     rcx, [rbx+48h]                                                 ; +0xaa, 0x14041b97a\ncall    UploadActionPopup__showFailMessage                             ; +0xae, 0x14041b97e\nmov     rax, [rbx+48h]                                                 ; +0xb3, 0x14041b983\nmov     [rax+298h], rdi                                                ; +0xb7, 0x14041b987\nmov     [rbx+48h], rdi                                                 ; +0xbe, 0x14041b98e\nmov     rdi, [rsp+48h+arg_8]                                           ; +0xc2, 0x14041b992\nadd     rsp, 40h                                                       ; +0xc7, 0x14041b997\npop     rbx                                                            ; +0xcb, 0x14041b99b\nretn                                                                   ; +0xcc, 0x14041b99c", "xrefs": ["<???> @ 0x14078bb58", "<???> @ 0x1408c8b14", "<???> @ 0x1408c8b24", "<???> @ 0x1409266cc"], "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"}