//
// NewsPopup::musicActionFailed from 0x100519a7c to 0x100519ad0 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x10099d000
//
// 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 11:07:08 +0000
//
__int64 __fastcall NewsPopup::musicActionFailed(_QWORD *a1, int a2)
{
__int64 result; // x0
const char *v4; // x1
result = a1[93];
if ( result && a1[85] == a1[86] )
{
if ( (a2 & 0xFFFFFFFD) == 9 )
{
v4 = "Could not load news.";
}
else
{
if ( a2 != 10 )
return result;
v4 = "No news yet!";
}
return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)result + 928LL))(result, v4);
}
return result;
}