//
// GJMessageCell::uploadActionFailed from 0x10013b378 to 0x10013b3ec (116 bytes)
//
// 2 xrefs:
// > sub_10013B408 @ 0x10013b40c
// > ??> @ 0x1008dd170
//
// 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 10:59:29 +0000
//
void __fastcall GJMessageCell::uploadActionFailed(__int64 a1, int a2)
{
__int64 v3; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
if ( *(_DWORD *)(*(_QWORD *)(a1 + 576) + 316LL) == a2 )
{
v3 = *(_QWORD *)(a1 + 584);
if ( v3 )
{
sub_100009900(__p, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(v3, __p);
if ( v5 < 0 )
operator delete(__p[0]);
*(_QWORD *)(*(_QWORD *)(a1 + 584) + 664LL) = 0;
*(_QWORD *)(a1 + 584) = 0;
}
}
}