//
// FriendRequestPopup::uploadActionFailed from 0x1002a65e0 to 0x1002a6672 (146 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fa7e8
//
// 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 __fastcall FriendRequestPopup::uploadActionFailed(FriendRequestPopup *a1, int a2, int a3)
{
GJFriendRequest *m_request; // rax
UploadActionPopup *m_popup; // r14
char *v5; // rbx
_QWORD v6[5]; // [rsp+8h] [rbp-28h] BYREF
m_request = a1->m_request;
if ( m_request && (m_request->m_requestID == a2 || m_request->m_accountID == a2) )
{
m_popup = a1->m_popup;
if ( m_popup )
{
v5 = (char *)operator new(0x20u);
v6[2] = v5;
v6[0] = 33;
v6[1] = 31;
strcpy(v5, "Failed. Please try again later.");
UploadActionPopup::showFailMessage((__int64)m_popup, (__int64)v6, 1.133375894043806e-153);
operator delete(v5);
}
}
}