//
// NewsPopup::musicActionFailed from 0x10095b0b0 to 0x10095b10c (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bca390
//
// 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 12:38:43 +0000
//
__int64 __fastcall NewsPopup::musicActionFailed(__int64 a1, int a2)
{
__int64 result; // rax
__int64 v3; // rdi
result = a1;
v3 = *(_QWORD *)(a1 + 744);
if ( v3 && *(_QWORD *)(result + 680) == *(_QWORD *)(result + 688) )
{
result = a2 & 0xFFFFFFFD;
if ( (_DWORD)result == 9 )
{
return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v3 + 928LL))(v3, "Could not load news.");
}
else if ( a2 == 10 )
{
return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v3 + 928LL))(v3, "No news yet!");
}
}
return result;
}