//
// EditorSoundConfigInfoLayer::uploadActionFailed from 0xcccec4 to 0xcccfe0 (284 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'EditorSoundConfigInfoLayer::uploadActionFailed @ 0xcccfe4
// > ??> @ 0x782e0
// > ??> @ 0x14fee98
//
// 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:06:25 +0000
//
__int64 __fastcall EditorSoundConfigInfoLayer::uploadActionFailed(EditorSoundConfigInfoLayer *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 == 73 )
{
v5 = *((_QWORD *)this + 136);
if ( v5 )
{
if ( *(_DWORD *)(v5 + 316) == a2 )
{
v6 = *((_QWORD *)this + 150);
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 + 150) + 664LL) = 0;
*((_QWORD *)this + 150) = 0;
}
}
}
}
return _stack_chk_guard;
}