//
// MusicDownloadManager::pathForNewsFolder from 0x1404933b0 to 0x14049342f (127 bytes)
//
// 3 xrefs:
// > MusicDownloadManager::onDownloadNewsFeedCompleted @ 0x140491e60
// > MusicDownloadManager::parseNewsFeed @ 0x1404921c9
// > ??> @ 0x140928ed4
//
// 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 11:32:51 +0000
//
// Hidden C++ exception states: #wind=1
CHAR *__fastcall MusicDownloadManager::pathForNewsFolder(__int64 a1, CHAR *a2)
{
__int64 v3; // rax
const CHAR *v4; // rcx
v3 = cocos2d::CCFileUtils::sharedFileUtils(a1);
(*(void (__fastcall **)(__int64, CHAR *))(*(_QWORD *)v3 + 136LL))(v3, a2);
sub_140044D80(a2, "news", 4u);
v4 = a2;
if ( *((_QWORD *)a2 + 3) > 0xFu )
v4 = *(const CHAR **)a2;
CreateDirectoryA(v4, nullptr);
sub_140044D80(a2, "/", 1u);
return a2;
}