//
// GJRequestCell::uploadActionFinished from 0x32feac to 0x32ff64 (184 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GJRequestCell::uploadActionFinished @ 0x32ff74
//
// 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 GJRequestCell::uploadActionFinished(GJRequestCell *a1, int a2, int a3)
{
GameLevelManager *v6; // r0
GJFriendRequest *v7; // r0
UploadActionPopup *m_popup; // r8
char *v9; // [sp+4h] [bp-Ch] BYREF
int v10; // [sp+8h] [bp-8h] BYREF
v9 = (char *)a2;
v10 = a3;
if ( a1->m_score )
{
v6 = GameLevelManager::sharedState();
v7 = GameLevelManager::friendRequestFromAccountID(v6, a1->m_score->m_accountID);
if ( !v7 || a2 == v7->m_accountID )
{
if ( a1->m_popup )
{
sub_776584((int)&v9, "Unknown action finished");
if ( a3 == 30 )
sub_7753D4((int)&v9, "Request removed!");
m_popup = a1->m_popup;
sub_776584((int)&v10, v9);
UploadActionPopup::showSuccessMessage(m_popup, (std::string)&v10);
sub_774008(&v10);
a1->m_popup->m_delegate = nullptr;
a1->m_popup = nullptr;
sub_774008(&v9);
}
}
}
}