//
// MusicDownloadManager::pathForNewsImage from 0x56ed38 to 0x56ed64 (44 bytes)
//
// 4 xrefs:
// > MusicDownloadManager::isNewsImageDownloaded @ 0x56ed96
// > MusicDownloadManager::onDownloadNewsImageCompleted @ 0x56eec4
// > MusicDownloadManager::onDownloadNewsFeedCompleted @ 0x57a8c2
// > NewsPopup::rebuildPage @ 0x6c23a8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:35 +0000
//
MusicDownloadManager *__fastcall MusicDownloadManager::pathForNewsImage(
MusicDownloadManager *a1,
int a2,
unsigned __int8 *a3)
{
int v5; // r3
const void *v6; // r1
size_t v7; // r2
MusicDownloadManager::pathForNewsFolder(a1);
v5 = *a3;
if ( (v5 & 1) != 0 )
{
v6 = *((const void **)a3 + 2);
v7 = *((_DWORD *)a3 + 1);
}
else
{
v6 = a3 + 1;
v7 = v5 >> 1;
}
std::string::append(a1, v6, v7);
return a1;
}