//
// ProfilePage::uploadActionFinished from 0x4c4c38 to 0x4c4ce2 (170 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ProfilePage::uploadActionFinished @ 0x4c4cfc
//
// 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 ProfilePage::uploadActionFinished(ProfilePage *a1, int a2, int a3)
{
char *v5; // r1
UploadActionPopup *m_popupDelegate; // r7
int v7; // r2
int v8; // r3
char *v9; // [sp+4h] [bp-Ch] BYREF
char *v10; // [sp+8h] [bp-8h] BYREF
v9 = (char *)a2;
v10 = (char *)a3;
if ( a2 == a1->m_accountID && a1->m_popupDelegate )
{
sub_776584((int)&v9, "Unknown action finished");
switch ( a3 )
{
case 30:
v5 = "Request removed";
break;
case 33:
v5 = "Friend removed";
break;
case 34:
v5 = "User blocked";
break;
default:
goto LABEL_6;
}
sub_7753D4((int)&v9, v5);
LABEL_6:
m_popupDelegate = a1->m_popupDelegate;
sub_776584((int)&v10, v9);
UploadActionPopup::showSuccessMessage((int)m_popupDelegate, &v10, v7, v8);
sub_774008(&v10);
sub_774008(&v9);
}
}