//
// GJRequestCell::uploadActionFailed from 0x3300a8 to 0x330128 (128 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GJRequestCell::uploadActionFailed @ 0x330134
//
// 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::uploadActionFailed(GJRequestCell *a1, int a2, int a3)
{
GameLevelManager *v5; // r0
GJFriendRequest *v6; // r0
UploadActionPopup *m_popup; // r7
_BYTE v8[4]; // [sp+8h] [bp-Ch] BYREF
if ( a1->m_score )
{
v5 = GameLevelManager::sharedState();
v6 = GameLevelManager::friendRequestFromAccountID(v5, a1->m_score->m_accountID);
if ( !v6 || a2 == v6->m_accountID )
{
m_popup = a1->m_popup;
if ( m_popup )
{
sub_776584((int)v8, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(m_popup, (std::string)v8);
sub_774008(v8);
a1->m_popup->m_delegate = nullptr;
a1->m_popup = nullptr;
}
}
}
}