//
// SFXBrowser::musicActionFailed from 0x10016a2e0 to 0x10016a390 (176 bytes)
//
// 2 xrefs:
// > sub_10016A3C4 @ 0x10016a3c8
// > ??> @ 0x10079dbe8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SFXBrowser::musicActionFailed(SFXBrowser *a1, GJMusicAction 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]
LoadingCircleSprite::hideCircle(a1->m_circleSprite);
if ( a2 == UpdateSFXLibrary && !a1->m_autoUpdating )
{
sub_100009900(v7, "SFX Library is the latest version.");
sub_100009900(__p, "");
v4 = TextAlertPopup::create(v7, 150, __p, 1.0, 0.5);
((void (__fastcall *)(SFXBrowser *, __int64, __int64))a1->addChild_0)(a1, v4, 100);
if ( v6 < 0 )
operator delete(__p[0]);
if ( v8 < 0 )
operator delete(v7[0]);
}
}