//
// EditorSoundConfigInfoLayer::uploadActionFailed from 0x1008f8040 to 0x1008f80f3 (179 bytes)
//
// 2 xrefs:
// > sub_1008F8110 @ 0x1008f811c
// > ??> @ 0x100bb60c0
//
// 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:59 +0000
//
void __fastcall EditorSoundConfigInfoLayer::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 == 73 )
{
v3 = *(_QWORD *)(a1 + 1088);
if ( v3 )
{
if ( *(_DWORD *)(v3 + 316) == a2 )
{
v4 = *(_QWORD *)(a1 + 1200);
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 + 1200) + 664LL) = 0;
*(_QWORD *)(a1 + 1200) = 0;
}
}
}
}
}