{"type": "func", "start": 5370896864, "end": 5370897067, "name": "FriendsProfilePage::uploadActionFailed", "pseudocode": "// \n// FriendsProfilePage::uploadActionFailed from 0x1402161e0 to 0x1402162ab (203 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x140756ab8\n// > <???> @ 0x1408a5554\n// > <???> @ 0x1408a5564\n// > <???> @ 0x14091b71c\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:28:21 +0000\n// \n\nvoid __fastcall FriendsProfilePage::uploadActionFailed(__int64 a1, int a2)\n{\n  __int64 v3; // 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  if ( *(_QWORD *)(a1 + 56) )\n  {\n    v3 = *(_QWORD *)(a1 + 48);\n    if ( v3 )\n    {\n      if ( a2 == *(_DWORD *)(v3 + 392) )\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 + 56), &v4);\n        *(_QWORD *)(*(_QWORD *)(a1 + 56) + 664LL) = 0;\n        *(_QWORD *)(a1 + 56) = 0;\n      }\n    }\n  }\n}", "assembly": "; \n; FriendsProfilePage::uploadActionFailed from 0x1402161e0 to 0x1402162ab (203 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x140756ab8\n; > <???> @ 0x1408a5554\n; > <???> @ 0x1408a5564\n; > <???> @ 0x14091b71c\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:28:21 +0000\n; \npush    rbx                                                            ; +0x0, 0x1402161e0\nsub     rsp, 40h                                                       ; +0x2, 0x1402161e2\ncmp     qword ptr [rcx+38h], 0                                         ; +0x6, 0x1402161e6\nmov     rbx, rcx                                                       ; +0xb, 0x1402161eb\njz      loc_1402162A5                                                  ; +0xe, 0x1402161ee\nmov     rax, [rcx+30h]                                                 ; +0x14, 0x1402161f4\ntest    rax, rax                                                       ; +0x18, 0x1402161f8\njz      loc_1402162A5                                                  ; +0x1b, 0x1402161fb\ncmp     edx, [rax+188h]                                                ; +0x21, 0x140216201\njnz     loc_1402162A5                                                  ; +0x27, 0x140216207\nxorps   xmm0, xmm0                                                     ; +0x2d, 0x14021620d\nmov     [rsp+48h+arg_8], rdi                                           ; +0x30, 0x140216210\nxor     edi, edi                                                       ; +0x35, 0x140216215\nmov     ecx, 20h ; ' '                                                 ; +0x37, 0x140216217\nmov     [rsp+48h+var_18], rdi                                          ; +0x3c, 0x14021621c\nmov     [rsp+48h+var_10], rdi                                          ; +0x41, 0x140216221\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x46, 0x140216226\ncall    sub_14003D460                                                  ; +0x4b, 0x14021622b\nmovups  xmm0, cs:xmmword_14071F8B8                                     ; +0x50, 0x140216230\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x57, 0x140216237\nmov     rdx, rax                                                       ; +0x5c, 0x14021623c\nmov     [rsp+48h+var_18], 1Fh                                          ; +0x5f, 0x14021623f\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x68, 0x140216248\nmovups  xmmword ptr [rax], xmm0                                        ; +0x71, 0x140216251\nmovsd   xmm0, cs:qword_14071F8C8                                       ; +0x74, 0x140216254\nmovsd   qword ptr [rax+10h], xmm0                                      ; +0x7c, 0x14021625c\nmov     ecx, cs:dword_14071F8D0                                        ; +0x81, 0x140216261\nmov     [rax+18h], ecx                                                 ; +0x87, 0x140216267\nmovzx   eax, cs:word_14071F8D4                                         ; +0x8a, 0x14021626a\nmov     [rdx+1Ch], ax                                                  ; +0x91, 0x140216271\nmovzx   eax, cs:byte_14071F8D6                                         ; +0x95, 0x140216275\nmov     [rdx+1Eh], al                                                  ; +0x9c, 0x14021627c\nmov     [rdx+1Fh], dil                                                 ; +0x9f, 0x14021627f\nlea     rdx, [rsp+48h+var_28]                                          ; +0xa3, 0x140216283\nmov     rcx, [rbx+38h]                                                 ; +0xa8, 0x140216288\ncall    UploadActionPopup__showFailMessage                             ; +0xac, 0x14021628c\nmov     rax, [rbx+38h]                                                 ; +0xb1, 0x140216291\nmov     [rax+298h], rdi                                                ; +0xb5, 0x140216295\nmov     [rbx+38h], rdi                                                 ; +0xbc, 0x14021629c\nmov     rdi, [rsp+48h+arg_8]                                           ; +0xc0, 0x1402162a0\nadd     rsp, 40h                                                       ; +0xc5, 0x1402162a5\npop     rbx                                                            ; +0xc9, 0x1402162a9\nretn                                                                   ; +0xca, 0x1402162aa", "xrefs": ["<???> @ 0x140756ab8", "<???> @ 0x1408a5554", "<???> @ 0x1408a5564", "<???> @ 0x14091b71c"], "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"}