//
// SFXBrowser::musicActionFailed from 0x1001f58b0 to 0x1001f5960 (176 bytes)
//
// 2 xrefs:
// > sub_1001F5994 @ 0x1001f5998
// > ??> @ 0x1008f3328
//
// 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:00:40 +0000
//
void __fastcall SFXBrowser::musicActionFailed(__int64 a1, int a2)
{
__int64 v4; // x0
void *__p[2]; // [xsp+0h] [xbp-40h] BYREF
char v6; // [xsp+17h] [xbp-29h]
void *v7[2]; // [xsp+18h] [xbp-28h] BYREF
char v8; // [xsp+2Fh] [xbp-11h]
sub_1004419FC(*(_QWORD *)(a1 + 1088));
if ( a2 == 4 && (*(_BYTE *)(a1 + 1128) & 1) == 0 )
{
sub_100009900(v7, "SFX Library is the latest version.");
sub_100009900(__p, "");
v4 = TextAlertPopup::create(v7, 150, __p, 1.0, 0.5);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v4, 100);
if ( v6 < 0 )
operator delete(__p[0]);
if ( v8 < 0 )
operator delete(v7[0]);
}
}