//
// SFXBrowser::musicActionFailed from 0x6c3d08 to 0x6c3dac (164 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SFXBrowser::musicActionFailed @ 0x6c3dbc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:56:53 +0000
//
int __fastcall SFXBrowser::musicActionFailed(int *a1, int a2)
{
int result; // r0
size_t v5; // r4
int v6; // r3
void (__fastcall *v7)(int *, cocos2d::CCNode *, int); // r9
cocos2d::CCNode *v8; // r0
int v9[3]; // [sp+Ch] [bp-20h] BYREF
int v10[3]; // [sp+18h] [bp-14h] BYREF
result = LoadingCircleSprite::hideCircle((LoadingCircleSprite *)a1[188]);
if ( a2 == 4 )
{
v5 = *((unsigned __int8 *)a1 + 784);
if ( !*((_BYTE *)a1 + 784) )
{
v6 = *a1;
v9[0] = *((unsigned __int8 *)a1 + 784);
v7 = *(void (__fastcall **)(int *, cocos2d::CCNode *, int))(v6 + 232);
v9[1] = v5;
v9[2] = v5;
std::string::__init(v9, "SFX Library is the latest version.", 0x22u);
v10[0] = v5;
v10[1] = v5;
v10[2] = v5;
std::string::__init(v10, &unk_B6B226, v5);
v8 = TextAlertPopup::create((int)v9, (cocos2d::CCDelayTime *)0x3F800000, 0.5, 150, (int)v10);
v7(a1, v8, 100);
std::string::~string((int)v10);
return std::string::~string((int)v9);
}
}
return result;
}