//
// FriendRequestPopup::uploadActionFailed from 0x140297170 to 0x140297230 (192 bytes)
//
// 2 xrefs:
// > ??> @ 0x140577688
// > ??> @ 0x1406d1c28
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void FriendRequestPopup::uploadActionFailed(FriendRequestPopup *a1, int a2, int a3)
{
__int64 v3; // rax
__int128 v5; // [rsp+20h] [rbp-28h] BYREF
__int64 v6; // [rsp+30h] [rbp-18h]
__int64 v7; // [rsp+38h] [rbp-10h]
v3 = *(_QWORD *)&a1->m_uIndexInArray;
if ( v3 && (*(_DWORD *)(v3 + 320) == a2 || *(_DWORD *)(v3 + 324) == a2) )
{
if ( *(_QWORD *)&a1->m_fRotationX )
{
v5 = 0;
*(_QWORD *)&v5 = sub_14003AA10(0x20u);
v6 = 31;
v7 = 31;
strcpy((char *)v5, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(*(_QWORD *)&a1->m_fRotationX, &v5);
}
}
}