//
// MusicDownloadManager::pathForNewsFolder from 0x964e70 to 0x964f00 (144 bytes)
//
// 4 xrefs:
// > MusicDownloadManager::pathForNewsImage @ 0x964f14
// > MusicDownloadManager::parseNewsFeed @ 0x97b00c
// > MusicDownloadManager::onDownloadNewsFeedCompleted @ 0x97d448
// > ??> @ 0x101ea8
//
// 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::pathForNewsFolder@(MusicDownloadManager *this@, __int64 a2@)
{
__int64 v3; // x0
const char *v4; // x0
v3 = cocos2d::CCFileUtils::sharedFileUtils(this);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3);
std::string::append(a2, "news", 4u);
v4 = (const char *)(a2 + 1);
if ( (*(_BYTE *)a2 & 1) != 0 )
v4 = *(const char **)(a2 + 16);
mkdir(v4, 0x1EDu);
std::string::append(a2, &word_11BA098, 1u);
return a2;
}