//
// SFXBrowser::musicActionFailed from 0x14047f8e0 to 0x14047fa11 (305 bytes)
//
// 3 xrefs:
// > ??> @ 0x140604c08
// > ??> @ 0x1406db99c
// > ??> @ 0x1406db9a8
//
// 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
//
// Hidden C++ exception states: #wind=1
void SFXBrowser::musicActionFailed(SFXBrowser *a1, GJMusicAction a2)
{
cocos2d::CCNode *v4; // rbx
__int64 v5; // rdi
__int64 v6; // rdx
__int64 v7; // r8
cocos2d::CCNode *v8; // rax
__int128 v9; // [rsp+30h] [rbp-48h] BYREF
__int64 v10; // [rsp+40h] [rbp-38h]
__int64 v11; // [rsp+48h] [rbp-30h]
__int128 v12; // [rsp+50h] [rbp-28h] BYREF
__int64 v13; // [rsp+60h] [rbp-18h]
__int64 v14; // [rsp+68h] [rbp-10h]
v4 = *(cocos2d::CCNode **)&a1->m_sAdditionalTransform.ty;
cocos2d::CCNode::stopActionByTag(v4, 0);
v4[1].encodeWithCoder(v4 + 1, nullptr);
v4->setVisible(v4, 0);
if ( a2 == UpdateSFXLibrary && !LOBYTE(a1->m_sInverse.d) )
{
v12 = 0;
v13 = 0;
v14 = 15;
LOBYTE(v12) = 0;
v9 = 0;
*(_QWORD *)&v9 = sub_14003AA10(0x30u);
v10 = 34;
v11 = 47;
strcpy((char *)v9, "SFX Library is the latest version.");
v5 = *(_QWORD *)&a1[-1].m_sInverse.ty;
v8 = TextAlertPopup::create((__int64)&v9, v6, v7, 150, (__int64)&v12);
(*(void (__fastcall **)(float *, cocos2d::CCNode *, __int64))(v5 + 440))(&a1[-1].m_sInverse.ty, v8, 100);
}
}