//
// EditorSoundConfigInfoLayer::uploadActionFailed from 0x1401963c0 to 0x1401964a0 (224 bytes)
//
// 4 xrefs:
// > ??> @ 0x14074df90
// > ??> @ 0x14089fb90
// > ??> @ 0x14089fba0
// > ??> @ 0x1409194d8
//
// 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 11:27:45 +0000
//
void __fastcall EditorSoundConfigInfoLayer::uploadActionFailed(__int64 a1, int a2, int a3)
{
__int64 v3; // rax
__int128 v5; // [rsp+20h] [rbp-28h] BYREF
__int64 v6; // [rsp+30h] [rbp-18h]
__int64 v7; // [rsp+38h] [rbp-10h]
if ( a3 == 73 )
{
v3 = *(_QWORD *)(a1 + 24);
if ( v3 )
{
if ( *(_DWORD *)(v3 + 320) == a2 )
{
if ( *(_QWORD *)(a1 + 136) )
{
v5 = 0;
*(_QWORD *)&v5 = sub_14003D460(0x20u);
v6 = 31;
v7 = 31;
strcpy((char *)v5, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(*(_QWORD *)(a1 + 136), &v5);
*(_QWORD *)(*(_QWORD *)(a1 + 136) + 664LL) = 0;
*(_QWORD *)(a1 + 136) = 0;
}
}
}
}
}