//
// FriendRequestPopup::uploadActionFailed from 0x5da274 to 0x5da2ec (120 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'FriendRequestPopup::uploadActionFailed @ 0x5da2f8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:54:11 +0000
//
int __fastcall FriendRequestPopup::uploadActionFailed(int this, int a2, int a3)
{
int v3; // r6
int v4; // r2
GameToolbox *v5; // r7
int v6; // r2
int v7; // r3
int v8; // r7
int v9[3]; // [sp+0h] [bp-14h] BYREF
v3 = this;
v4 = *(_DWORD *)(this + 536);
if ( v4 && (*(_DWORD *)(v4 + 264) == a2 || *(_DWORD *)(v4 + 268) == a2) )
{
v5 = *(GameToolbox **)(this + 548);
if ( v5 )
{
memset(v9, 0, sizeof(v9));
std::string::__init(v9, "Failed. Please try again later.", 0x1Fu);
v8 = UploadActionPopup::showFailMessageOrDismiss(v5, (int)v9, v6, v7);
this = std::string::~string((int)v9);
if ( v8 )
*(_DWORD *)(v3 + 548) = 0;
}
}
return this;
}