{"type": "func", "start": 5372522720, "end": 5372522924, "name": "FriendRequestPopup::uploadActionFailed", "pseudocode": "// \n// FriendRequestPopup::uploadActionFailed from 0x1403a30e0 to 0x1403a31ac (204 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14077ae40\n// > <???> @ 0x140923678\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:18 +0000\n// \n\nchar __fastcall FriendRequestPopup::uploadActionFailed(__int64 a1, int a2)\n{\n  __int64 v2; // rax\n  __int128 v5; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v6; // [rsp+30h] [rbp-18h]\n  __int64 v7; // [rsp+38h] [rbp-10h]\n\n  v2 = *(_QWORD *)(a1 + 32);\n  if ( v2 && (*(_DWORD *)(v2 + 320) == a2 || *(_DWORD *)(v2 + 324) == a2) )\n  {\n    if ( *(_QWORD *)(a1 + 56) )\n    {\n      v5 = 0;\n      *(_QWORD *)&v5 = sub_14003D460(0x20u);\n      v6 = 31;\n      v7 = 31;\n      strcpy((char *)v5, \"Failed. Please try again later.\");\n      LOBYTE(v2) = UploadActionPopup::showFailMessageOrDismiss(*(_QWORD *)(a1 + 56), (__int64)&v5);\n      if ( (_BYTE)v2 )\n        *(_QWORD *)(a1 + 56) = 0;\n    }\n  }\n  return v2;\n}", "assembly": "; \n; FriendRequestPopup::uploadActionFailed from 0x1403a30e0 to 0x1403a31ac (204 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14077ae40\n; > <???> @ 0x140923678\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:18 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403a30e0\nsub     rsp, 40h                                                       ; +0x2, 0x1403a30e2\nmov     rax, [rcx+20h]                                                 ; +0x6, 0x1403a30e6\nmov     rbx, rcx                                                       ; +0xa, 0x1403a30ea\ntest    rax, rax                                                       ; +0xd, 0x1403a30ed\njz      loc_1403A31A6                                                  ; +0x10, 0x1403a30f0\ncmp     [rax+140h], edx                                                ; +0x16, 0x1403a30f6\njz      short loc_1403A310A                                            ; +0x1c, 0x1403a30fc\ncmp     [rax+144h], edx                                                ; +0x1e, 0x1403a30fe\njnz     loc_1403A31A6                                                  ; +0x24, 0x1403a3104\ncmp     qword ptr [rcx+38h], 0                                         ; +0x2a, 0x1403a310a\njz      loc_1403A31A6                                                  ; +0x2f, 0x1403a310f\nxorps   xmm0, xmm0                                                     ; +0x35, 0x1403a3115\nmov     [rsp+48h+var_18], 0                                            ; +0x38, 0x1403a3118\nmov     ecx, 20h ; ' '                                                 ; +0x41, 0x1403a3121\nmov     [rsp+48h+var_10], 0                                            ; +0x46, 0x1403a3126\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x4f, 0x1403a312f\ncall    sub_14003D460                                                  ; +0x54, 0x1403a3134\nmovups  xmm0, cs:xmmword_14071F8B8                                     ; +0x59, 0x1403a3139\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x60, 0x1403a3140\nmov     rdx, rax                                                       ; +0x65, 0x1403a3145\nmov     [rsp+48h+var_18], 1Fh                                          ; +0x68, 0x1403a3148\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x71, 0x1403a3151\nmovups  xmmword ptr [rax], xmm0                                        ; +0x7a, 0x1403a315a\nmovsd   xmm0, cs:qword_14071F8C8                                       ; +0x7d, 0x1403a315d\nmovsd   qword ptr [rax+10h], xmm0                                      ; +0x85, 0x1403a3165\nmov     ecx, cs:dword_14071F8D0                                        ; +0x8a, 0x1403a316a\nmov     [rax+18h], ecx                                                 ; +0x90, 0x1403a3170\nmovzx   eax, cs:word_14071F8D4                                         ; +0x93, 0x1403a3173\nmov     [rdx+1Ch], ax                                                  ; +0x9a, 0x1403a317a\nmovzx   eax, cs:byte_14071F8D6                                         ; +0x9e, 0x1403a317e\nmov     [rdx+1Eh], al                                                  ; +0xa5, 0x1403a3185\nmov     byte ptr [rdx+1Fh], 0                                          ; +0xa8, 0x1403a3188\nlea     rdx, [rsp+48h+var_28]                                          ; +0xac, 0x1403a318c\nmov     rcx, [rbx+38h]                                                 ; +0xb1, 0x1403a3191\ncall    UploadActionPopup__showFailMessageOrDismiss                    ; +0xb5, 0x1403a3195\ntest    al, al                                                         ; +0xba, 0x1403a319a\njz      short loc_1403A31A6                                            ; +0xbc, 0x1403a319c\nmov     qword ptr [rbx+38h], 0                                         ; +0xbe, 0x1403a319e\nadd     rsp, 40h                                                       ; +0xc6, 0x1403a31a6\npop     rbx                                                            ; +0xca, 0x1403a31aa\nretn                                                                   ; +0xcb, 0x1403a31ab", "xrefs": ["<???> @ 0x14077ae40", "<???> @ 0x140923678"], "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"}