//
// NewsPopup::musicActionFailed from 0x6c1580 to 0x6c15ba (58 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'NewsPopup::musicActionFailed @ 0x6c15c8
//
// 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:50 +0000
//
int __fastcall NewsPopup::musicActionFailed(_DWORD *a1, int a2)
{
int result; // r0
int (*v4)(void); // r3
result = a1[141];
if ( result && a1[132] == a1[133] )
{
if ( (a2 & 0xFFFFFFFD) == 9 )
{
v4 = *(int (**)(void))(*(_DWORD *)result + 464);
}
else
{
if ( a2 != 10 )
return result;
v4 = *(int (**)(void))(*(_DWORD *)result + 464);
}
return v4();
}
return result;
}