{"type": "func", "start": 5371817344, "end": 5371817553, "name": "GJRateLevelLayer::uploadActionFailed", "pseudocode": "// \n// GJRateLevelLayer::uploadActionFailed from 0x1402f6d80 to 0x1402f6e51 (209 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140586c38\n// > <???> @ 0x1406d4094\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\nvoid GJRateLevelLayer::uploadActionFailed(GJRateLevelLayer *a1, int a2, int a3)\n{\n  __int128 v4; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v5; // [rsp+30h] [rbp-18h]\n  __int64 v6; // [rsp+38h] [rbp-10h]\n\n  if ( a2 == *(_DWORD *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 328LL)\n           - *(_DWORD *)(*(_QWORD *)&a1->m_uAutoReleaseCount + 332LL) )\n  {\n    if ( *(_QWORD *)&a1->m_fVertexZ )\n    {\n      v4 = 0;\n      *(_QWORD *)&v4 = sub_14003AA10(0x20u);\n      v5 = 31;\n      v6 = 31;\n      strcpy((char *)v4, \"Failed. Please try again later.\");\n      UploadActionPopup::showFailMessage(*(_QWORD *)&a1->m_fVertexZ, &v4);\n      *(_QWORD *)(*(_QWORD *)&a1->m_fVertexZ + 632LL) = 0;\n      *(_QWORD *)&a1->m_fVertexZ = 0;\n    }\n  }\n}", "assembly": "; \n; GJRateLevelLayer::uploadActionFailed from 0x1402f6d80 to 0x1402f6e51 (209 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140586c38\n; > <???> @ 0x1406d4094\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\npush    rbx                                                            ; +0x0, 0x1402f6d80\nsub     rsp, 40h                                                       ; +0x2, 0x1402f6d82\nmov     rax, [rcx+18h]                                                 ; +0x6, 0x1402f6d86\nmov     rbx, rcx                                                       ; +0xa, 0x1402f6d8a\nmov     r8d, [rax+148h]                                                ; +0xd, 0x1402f6d8d\nsub     r8d, [rax+14Ch]                                                ; +0x14, 0x1402f6d94\ncmp     edx, r8d                                                       ; +0x1b, 0x1402f6d9b\njnz     loc_1402F6E4B                                                  ; +0x1e, 0x1402f6d9e\ncmp     qword ptr [rcx+48h], 0                                         ; +0x24, 0x1402f6da4\njz      loc_1402F6E4B                                                  ; +0x29, 0x1402f6da9\nxorps   xmm0, xmm0                                                     ; +0x2f, 0x1402f6daf\nmov     [rsp+48h+var_18], 0                                            ; +0x32, 0x1402f6db2\nmov     ecx, 20h ; ' '                                                 ; +0x3b, 0x1402f6dbb\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x40, 0x1402f6dc0\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x49, 0x1402f6dc9\ncall    sub_14003AA10                                                  ; +0x4e, 0x1402f6dce\nmovups  xmm0, cs:xmmword_1405473B8                                     ; +0x53, 0x1402f6dd3\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x5a, 0x1402f6dda\nmov     rdx, rax                                                       ; +0x5f, 0x1402f6ddf\nmov     [rsp+48h+var_18], 1Fh                                          ; +0x62, 0x1402f6de2\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x6b, 0x1402f6deb\nmovups  xmmword ptr [rax], xmm0                                        ; +0x74, 0x1402f6df4\nmovsd   xmm0, cs:qword_1405473C8                                       ; +0x77, 0x1402f6df7\nmovsd   qword ptr [rax+10h], xmm0                                      ; +0x7f, 0x1402f6dff\nmov     ecx, cs:dword_1405473D0                                        ; +0x84, 0x1402f6e04\nmov     [rax+18h], ecx                                                 ; +0x8a, 0x1402f6e0a\nmovzx   eax, cs:word_1405473D4                                         ; +0x8d, 0x1402f6e0d\nmov     [rdx+1Ch], ax                                                  ; +0x94, 0x1402f6e14\nmovzx   eax, cs:byte_1405473D6                                         ; +0x98, 0x1402f6e18\nmov     [rdx+1Eh], al                                                  ; +0x9f, 0x1402f6e1f\nmov     byte ptr [rdx+1Fh], 0                                          ; +0xa2, 0x1402f6e22\nlea     rdx, [rsp+48h+var_28]                                          ; +0xa6, 0x1402f6e26\nmov     rcx, [rbx+48h]                                                 ; +0xab, 0x1402f6e2b\ncall    UploadActionPopup__showFailMessage                             ; +0xaf, 0x1402f6e2f\nmov     rax, [rbx+48h]                                                 ; +0xb4, 0x1402f6e34\nmov     qword ptr [rax+278h], 0                                        ; +0xb8, 0x1402f6e38\nmov     qword ptr [rbx+48h], 0                                         ; +0xc3, 0x1402f6e43\nadd     rsp, 40h                                                       ; +0xcb, 0x1402f6e4b\npop     rbx                                                            ; +0xcf, 0x1402f6e4f\nretn                                                                   ; +0xd0, 0x1402f6e50", "xrefs": ["<???> @ 0x140586c38", "<???> @ 0x1406d4094"], "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"}