//
// MusicBrowser::musicActionFailed from 0xb844d4 to 0xb8461c (328 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'MusicBrowser::musicActionFailed @ 0xb84620
// > ??> @ 0xe7490
// > ??> @ 0x14d4b78
//
// 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 13:02:30 +0000
//
__int64 __fastcall MusicBrowser::musicActionFailed(__int64 a1, int a2)
{
void (__fastcall *v4)(__int64, __int64, __int64); // x23
__int64 v5; // x0
__int64 v7[2]; // [xsp+58h] [xbp+58h] BYREF
void *v8; // [xsp+68h] [xbp+68h]
__int64 v9[2]; // [xsp+70h] [xbp+70h] BYREF
void *v10; // [xsp+80h] [xbp+80h]
LoadingCircleSprite::hideCircle(*(LoadingCircleSprite **)(a1 + 856));
if ( a2 == 6 && !*(_BYTE *)(a1 + 912) )
{
v4 = *(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL);
v7[0] = 0;
v7[1] = 0;
v8 = nullptr;
std::string::__init(v7, "Music Library is the latest version.", 0x24u);
v9[0] = 0;
v9[1] = 0;
v10 = nullptr;
std::string::__init(v9, &byte_11B8890, 0);
v5 = TextAlertPopup::create((char *)v7, 150, (char *)v9, 1.0, 0.5);
v4(a1, v5, 100);
if ( (v9[0] & 1) != 0 )
operator delete(v10);
if ( (v7[0] & 1) != 0 )
operator delete(v8);
}
return _stack_chk_guard;
}