//
// ProfilePage::uploadActionFailed from 0xa53758 to 0xa53848 (240 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ProfilePage::uploadActionFailed @ 0xa5384c
// > ??> @ 0xf7fa8
// > ??> @ 0x148d040
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:00:06 +0000
//
__int64 __fastcall ProfilePage::uploadActionFailed(ProfilePage *this, int a2)
{
__int64 v3; // x20
_QWORD v4[2]; // [xsp+20h] [xbp+20h] BYREF
void *v5; // [xsp+30h] [xbp+30h]
if ( *((_DWORD *)this + 184) == a2 )
{
v3 = *((_QWORD *)this + 109);
if ( v3 )
{
v5 = (void *)operator new(0x20u);
v4[0] = 33;
v4[1] = 31;
strcpy((char *)v5, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(v3, (char *)v4);
if ( (v4[0] & 1) != 0 )
operator delete(v5);
}
}
return _stack_chk_guard;
}