//
// MusicDownloadManager::init from 0x83a5bc to 0x83a60c (80 bytes)
//
// 2 xrefs:
// > ??> @ 0x2e038
// > ??> @ 0x11898c0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool MusicDownloadManager::init(MusicDownloadManager *a1)
{
bool v2; // w19
cocos2d::CCDictionary *v3; // x0
cocos2d::CCArray *v4; // x0
cocos2d::CCArray *v5; // x0
v2 = cocos2d::CCNode::init(a1);
if ( v2 )
{
v3 = cocos2d::CCDictionary::create();
a1->m_activeDownloads = v3;
cocos2d::CCObject::retain(v3);
v5 = (cocos2d::CCArray *)cocos2d::CCArray::create(v4);
a1->m_musicDownloadDelegates = v5;
cocos2d::CCObject::retain(v5);
MusicDownloadManager::generateResourceAssetList(a1);
}
return v2;
}