//
// sub_1001E00D4 from 0x1001e00d4 to 0x1001e0190 (188 bytes)
//
// 1 xrefs:
// > MusicDownloadManager::tryUpdateNewsFeed @ 0x1001dad70
//
// 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:00:29 +0000
//
void __fastcall sub_1001E00D4(__int64 a1, __int64 a2, __int64 a3)
{
void **v5; // x0
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v7; // [xsp+1Fh] [xbp-21h]
sub_1001D2EE4(a1, "v_news");
if ( a3 && (*(_BYTE *)(a3 + 64) & 1) != 0 )
{
GameToolbox::getResponse(a3, __p);
if ( v7 >= 0 )
v5 = __p;
else
v5 = (void **)__p[0];
if ( atoi((const char *)v5) <= *(_DWORD *)(a1 + 864) )
MusicDownloadManager::musicActionFailed(a1, 10);
else
sub_1001E01AC(a1);
if ( v7 < 0 )
operator delete(__p[0]);
}
else
{
MusicDownloadManager::musicActionFailed(a1, 9);
}
}