//
// GJMessagePopup::uploadActionFailed from 0xa29248 to 0xa29350 (264 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'GJMessagePopup::uploadActionFailed @ 0xa29354
// > ??> @ 0x82858
// > ??> @ 0x147f368
//
// 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 12:59:43 +0000
//
__int64 __fastcall GJMessagePopup::uploadActionFailed(GJMessagePopup *this, int a2, int a3)
{
__int64 v3; // x3
__int64 v5; // x20
_QWORD v6[2]; // [xsp+20h] [xbp+20h] BYREF
void *v7; // [xsp+30h] [xbp+30h]
v3 = *((_QWORD *)this + 89);
if ( *(_DWORD *)(v3 + 316) == a2 || a3 == 40 && a2 == *(_DWORD *)(v3 + 320) )
{
v5 = *((_QWORD *)this + 92);
if ( v5 )
{
v7 = (void *)operator new(0x20u);
v6[0] = 33;
v6[1] = 31;
strcpy((char *)v7, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(v5, (char *)v6);
if ( (v6[0] & 1) != 0 )
operator delete(v7);
}
}
return _stack_chk_guard;
}