//
// CreatorSettingsPopup::uploadActionFailed from 0x1008b7450 to 0x1008b750b (187 bytes)
//
// 2 xrefs:
// > sub_1008B7530 @ 0x1008b753c
// > ??> @ 0x100baf1e8
//
// This function is hookable on this platform (idp: pc, 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:37:24 +0000
//
void __fastcall CreatorSettingsPopup::uploadActionFailed(__int64 a1, int a2, int a3)
{
__int64 v3; // rax
__int64 v4; // rbx
_QWORD v5[2]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
if ( a3 == 27 )
{
v3 = *(_QWORD *)(a1 + 1040);
if ( v3 )
{
if ( *(_DWORD *)(v3 + 328) - *(_DWORD *)(v3 + 332) == a2 )
{
v4 = *(_QWORD *)(a1 + 1056);
if ( v4 )
{
__p = operator new(0x20u);
v5[0] = 33;
v5[1] = 31;
strcpy((char *)__p, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(v4, (__int64)v5, 1.133375894043806e-153);
if ( (v5[0] & 1) != 0 )
operator delete(__p);
*(_QWORD *)(*(_QWORD *)(a1 + 1056) + 664LL) = 0;
*(_QWORD *)(a1 + 1056) = 0;
}
}
}
}
}