//
// MusicBrowser::musicActionFailed from 0x10060fa30 to 0x10060fb05 (213 bytes)
//
// 2 xrefs:
// > sub_10060FB40 @ 0x10060fb4c
// > ??> @ 0x100980b70
//
// 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 MusicBrowser::musicActionFailed(MusicBrowser *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 == UpdateMusicLibrary && !a1->m_autoUpdating )
{
v6 = operator new(0x28u);
v5[0] = 41;
v5[1] = 36;
strcpy((char *)v6, "Music Library is the latest version.");
LOWORD(v3) = 0;
v2 = TextAlertPopup::create((__int64)v5, 0x96u, &v3, (__m128)0x3F800000u, 0.5);
((void (__fastcall *)(MusicBrowser *, cocos2d::CCObject *, __int64))a1->addChild_0)(a1, v2, 100);
if ( (v3 & 1) != 0 )
operator delete(__p);
if ( (v5[0] & 1) != 0 )
operator delete(v6);
}
}