//
// NewsPopup::musicActionFailed from 0x1404a0430 to 0x1404a047b (75 bytes)
//
// 1 xrefs:
// > ??> @ 0x1407b9ae0
//
// This function is hookable on this platform (idp: pc, 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:32:56 +0000
//
__int64 __fastcall NewsPopup::musicActionFailed(_QWORD *a1, int a2)
{
__int64 v2; // r8
__int64 result; // rax
v2 = a1[9];
if ( v2 )
{
result = a1[2];
if ( a1[1] == result )
{
result = (unsigned int)(a2 - 9);
if ( (result & 0xFFFFFFFD) != 0 )
{
if ( a2 == 10 )
return (**(__int64 (__fastcall ***)(__int64, const char *))(v2 + 360))(v2 + 360, "No news yet!");
}
else
{
return (**(__int64 (__fastcall ***)(__int64, const char *))(v2 + 360))(v2 + 360, "Could not load news.");
}
}
}
return result;
}