//
// MusicDownloadManager::pathForNewsImage from 0x964f00 to 0x964f68 (104 bytes)
//
// 5 xrefs:
// > MusicDownloadManager::isNewsImageDownloaded @ 0x964fe0
// > MusicDownloadManager::onDownloadNewsImageCompleted @ 0x965258
// > MusicDownloadManager::onDownloadNewsFeedCompleted @ 0x97d6b0
// > NewsPopup::rebuildPage @ 0xb8bc14
// > ??> @ 0x63ee0
//
// 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 12:57:35 +0000
//
__int64 __usercall MusicDownloadManager::pathForNewsImage@(
MusicDownloadManager *a1@,
__int64 a2@,
__int64 a3@)
{
void *v5; // x1
size_t v6; // x2
MusicDownloadManager::pathForNewsFolder(a1, a3);
if ( (*(_BYTE *)a2 & 1) != 0 )
{
v5 = *(void **)(a2 + 16);
v6 = *(_QWORD *)(a2 + 8);
}
else
{
v5 = (void *)(a2 + 1);
v6 = *(_BYTE *)a2 >> 1;
}
std::string::append(a3, v5, v6);
return a3;
}