//
// FriendRequestPopup::uploadActionFinished from 0x4ac9b0 to 0x4aca70 (192 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'FriendRequestPopup::uploadActionFinished @ 0x4aca88
//
// 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::uploadActionFinished(FriendRequestPopup *a1, int a2, int a3)
{
GJFriendRequest *m_request; // r2
char *v6; // r1
UploadActionPopup *m_popup; // r7
int v8; // r2
int v9; // r3
char *v10; // [sp+4h] [bp-Ch] BYREF
char *v11; // [sp+8h] [bp-8h] BYREF
v10 = (char *)a2;
v11 = (char *)a3;
m_request = a1->m_request;
if ( m_request && (m_request->m_requestID == a2 || m_request->m_accountID == a2) )
{
LOBYTE(a1->m_unk) = 1;
if ( a1->m_popup )
{
sub_776584((int)&v10, "Unknown action");
switch ( a3 )
{
case 30:
v6 = "Request removed";
break;
case 31:
v6 = "Friend added!";
break;
case 34:
v6 = "User blocked!";
break;
default:
goto LABEL_8;
}
sub_7753D4((int)&v10, v6);
LABEL_8:
m_popup = a1->m_popup;
sub_776584((int)&v11, v10);
UploadActionPopup::showSuccessMessage((int)m_popup, &v11, v8, v9);
sub_774008(&v11);
sub_774008(&v10);
}
}
}