//
// EditorSoundConfigInfoLayer::musicActionFailed from 0x140196bf0 to 0x140196cd0 (224 bytes)
//
// 2 xrefs:
// > ??> @ 0x14074e5d0
// > ??> @ 0x140919538
//
// 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
//
// Hidden C++ exception states: #wind=1
void __fastcall EditorSoundConfigInfoLayer::musicActionFailed(__int64 a1, __int64 a2, __int64 a3)
{
__int64 *v3; // rdi
__int64 v4; // rbx
__int64 v5; // rax
char v6[16]; // [rsp+30h] [rbp-48h] BYREF
__int64 v7; // [rsp+40h] [rbp-38h]
__int64 v8; // [rsp+48h] [rbp-30h]
__int128 v9; // [rsp+50h] [rbp-28h] BYREF
__int64 v10; // [rsp+60h] [rbp-18h]
__int64 v11; // [rsp+68h] [rbp-10h]
if ( (_DWORD)a2 == 2 )
{
v3 = (__int64 *)(a1 - 1064);
if ( *(_BYTE *)(a1 - 1064 + 1106) )
{
*(_BYTE *)(a1 + 42) = 0;
v9 = 0;
v10 = 0;
v11 = 15;
LOBYTE(v9) = 0;
v7 = 15;
v8 = 15;
strcpy(v6, "Download failed");
v4 = *v3;
v5 = TextAlertPopup::create(v6, a2, a3, 150, &v9);
(*(void (__fastcall **)(__int64 *, __int64, __int64))(v4 + 456))(v3, v5, 100);
}
}
}