//
// SFXBrowser::musicActionFailed from 0x100440550 to 0x100440624 (212 bytes)
//
// 2 xrefs:
// > sub_100440660 @ 0x10044066c
// > ??> @ 0x100938670
//
// 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)
{
cocos2d::CCObject *v2; // rax
__int128 v3; // [rsp+0h] [rbp-40h] BYREF
void *__p; // [rsp+10h] [rbp-30h]
_QWORD v5[2]; // [rsp+18h] [rbp-28h] BYREF
void *v6; // [rsp+28h] [rbp-18h]
LoadingCircleSprite::hideCircle(a1->m_circleSprite);
if ( a2 == UpdateSFXLibrary && !a1->m_autoUpdating )
{
v6 = operator new(0x28u);
v5[0] = 41;
v5[1] = 34;
strcpy((char *)v6, "SFX Library is the latest version.");
LOWORD(v3) = 0;
v2 = TextAlertPopup::create((__int64)v5, 0x96u, &v3, (__m128)0x3F800000u, 0.5);
((void (__fastcall *)(SFXBrowser *, cocos2d::CCObject *, __int64))a1->addChild_0)(a1, v2, 100);
if ( (v3 & 1) != 0 )
operator delete(__p);
if ( (v5[0] & 1) != 0 )
operator delete(v6);
}
}