//
// EditorSoundConfigInfoLayer::uploadActionFailed from 0x1004d33a0 to 0x1004d3420 (128 bytes)
//
// 2 xrefs:
// > sub_1004D343C @ 0x1004d3440
// > ??> @ 0x1009890c8
//
// 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 11:06:29 +0000
//
void __fastcall EditorSoundConfigInfoLayer::uploadActionFailed(__int64 a1, int a2, int a3)
{
__int64 v4; // x8
__int64 v5; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
if ( a3 == 73 )
{
v4 = *(_QWORD *)(a1 + 1088);
if ( v4 )
{
if ( *(_DWORD *)(v4 + 316) == a2 )
{
v5 = *(_QWORD *)(a1 + 1200);
if ( v5 )
{
sub_100009900(__p, "Failed. Please try again later.");
UploadActionPopup::showFailMessage(v5, (char *)__p);
if ( v7 < 0 )
operator delete(__p[0]);
*(_QWORD *)(*(_QWORD *)(a1 + 1200) + 664LL) = 0;
*(_QWORD *)(a1 + 1200) = 0;
}
}
}
}
}