//
// CreatorSettingsPopup::uploadActionFailed from 0xc96d44 to 0xc96e68 (292 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'CreatorSettingsPopup::uploadActionFailed @ 0xc96e6c
// > ??> @ 0x80b00
// > ??> @ 0x14f6720
//
// 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:05:54 +0000
//
__int64 __fastcall CreatorSettingsPopup::uploadActionFailed(CreatorSettingsPopup *this, int a2, int a3)
{
__int64 v5; // x0
__int64 v6; // x21
_QWORD v7[2]; // [xsp+30h] [xbp+30h] BYREF
void *v8; // [xsp+40h] [xbp+40h]
if ( a3 == 27 )
{
v5 = *((_QWORD *)this + 130);
if ( v5 )
{
if ( a2 == *(_DWORD *)(v5 + 328) - *(_DWORD *)(v5 + 332) )
{
v6 = *((_QWORD *)this + 132);
if ( v6 )
{
v8 = (void *)operator new(0x20u);
v7[0] = 33;
v7[1] = 31;
strcpy((char *)v8, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(v6, (char *)v7);
if ( (v7[0] & 1) != 0 )
operator delete(v8);
*(_QWORD *)(*((_QWORD *)this + 132) + 664LL) = 0;
*((_QWORD *)this + 132) = 0;
}
}
}
}
return _stack_chk_guard;
}