//
// SFXBrowser::musicActionFailed from 0x582dfc to 0x582e90 (148 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SFXBrowser::musicActionFailed @ 0x582ea0
//
// 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 SFXBrowser::musicActionFailed(SFXBrowser *a1, GJMusicAction a2)
{
void (__fastcall *addChild_0)(cocos2d::CCNode *__hidden, cocos2d::CCNode *, int); // r8
cocos2d::CCNode *v5; // r0
char v6; // [sp+14h] [bp-Ch] BYREF
_BYTE v7[4]; // [sp+18h] [bp-8h] BYREF
LoadingCircleSprite::hideCircle(a1->m_circleSprite);
if ( a2 == UpdateSFXLibrary && !a1->m_autoUpdating )
{
addChild_0 = a1->addChild_0;
sub_776584((int)&v6, "SFX Library is the latest version.");
sub_776584((int)v7, (char *)&unk_939830);
v5 = TextAlertPopup::create((TextAlertPopup *)&v6, (std::string)1065353216, 0.5, 150, (int)v7);
addChild_0(a1, v5, 100);
sub_774008(v7);
sub_774008(&v6);
}
}