{"type": "func", "start": 5372679376, "end": 5372679575, "name": "RateDemonLayer::uploadActionFailed", "pseudocode": "// \n// RateDemonLayer::uploadActionFailed from 0x1403c94d0 to 0x1403c9597 (199 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405cbdb8\n// > <???> @ 0x1406d79f4\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 RateDemonLayer::uploadActionFailed(RateDemonLayer *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 ( a3 == 50 && a2 == a1->m_unknown2 )\n  {\n    if ( *(_QWORD *)&a1->m_fRotationX )\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_fRotationX, &v4);\n      *(_QWORD *)(*(_QWORD *)&a1->m_fRotationX + 632LL) = 0;\n      *(_QWORD *)&a1->m_fRotationX = 0;\n    }\n  }\n}", "assembly": "; \n; RateDemonLayer::uploadActionFailed from 0x1403c94d0 to 0x1403c9597 (199 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405cbdb8\n; > <???> @ 0x1406d79f4\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\ncmp     r8d, 32h ; '2'                                                 ; +0x0, 0x1403c94d0\njnz     locret_1403C9596                                               ; +0x4, 0x1403c94d4\npush    rbx                                                            ; +0xa, 0x1403c94da\nsub     rsp, 40h                                                       ; +0xb, 0x1403c94db\nmov     rbx, rcx                                                       ; +0xf, 0x1403c94df\ncmp     edx, [rcx+28h]                                                 ; +0x12, 0x1403c94e2\njnz     loc_1403C9591                                                  ; +0x15, 0x1403c94e5\ncmp     qword ptr [rcx+38h], 0                                         ; +0x1b, 0x1403c94eb\njz      loc_1403C9591                                                  ; +0x20, 0x1403c94f0\nxorps   xmm0, xmm0                                                     ; +0x26, 0x1403c94f6\nmov     [rsp+48h+var_18], 0                                            ; +0x29, 0x1403c94f9\nlea     ecx, [r8-12h]                                                  ; +0x32, 0x1403c9502\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x36, 0x1403c9506\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x3f, 0x1403c950f\ncall    sub_14003AA10                                                  ; +0x44, 0x1403c9514\nmovups  xmm0, cs:xmmword_1405473B8                                     ; +0x49, 0x1403c9519\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x50, 0x1403c9520\nmov     rdx, rax                                                       ; +0x55, 0x1403c9525\nmov     [rsp+48h+var_18], 1Fh                                          ; +0x58, 0x1403c9528\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x61, 0x1403c9531\nmovups  xmmword ptr [rax], xmm0                                        ; +0x6a, 0x1403c953a\nmovsd   xmm0, cs:qword_1405473C8                                       ; +0x6d, 0x1403c953d\nmovsd   qword ptr [rax+10h], xmm0                                      ; +0x75, 0x1403c9545\nmov     ecx, cs:dword_1405473D0                                        ; +0x7a, 0x1403c954a\nmov     [rax+18h], ecx                                                 ; +0x80, 0x1403c9550\nmovzx   eax, cs:word_1405473D4                                         ; +0x83, 0x1403c9553\nmov     [rdx+1Ch], ax                                                  ; +0x8a, 0x1403c955a\nmovzx   eax, cs:byte_1405473D6                                         ; +0x8e, 0x1403c955e\nmov     [rdx+1Eh], al                                                  ; +0x95, 0x1403c9565\nmov     byte ptr [rdx+1Fh], 0                                          ; +0x98, 0x1403c9568\nlea     rdx, [rsp+48h+var_28]                                          ; +0x9c, 0x1403c956c\nmov     rcx, [rbx+38h]                                                 ; +0xa1, 0x1403c9571\ncall    UploadActionPopup__showFailMessage                             ; +0xa5, 0x1403c9575\nmov     rax, [rbx+38h]                                                 ; +0xaa, 0x1403c957a\nmov     qword ptr [rax+278h], 0                                        ; +0xae, 0x1403c957e\nmov     qword ptr [rbx+38h], 0                                         ; +0xb9, 0x1403c9589\nadd     rsp, 40h                                                       ; +0xc1, 0x1403c9591\npop     rbx                                                            ; +0xc5, 0x1403c9595\nretn                                                                   ; +0xc6, 0x1403c9596", "xrefs": ["<???> @ 0x1405cbdb8", "<???> @ 0x1406d79f4"], "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"}