//
// MusicDownloadManager::init from 0x57995c to 0x57998a (46 bytes)
//
// 1 xrefs:
// > MusicDownloadManager::sharedState @ 0x56bb98
//
// 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:47 +0000
//
cocos2d::CCDictionary *__fastcall MusicDownloadManager::init(MusicDownloadManager *this)
{
cocos2d::CCDictionary *v2; // r0
cocos2d::CCDictionary *v3; // r5
cocos2d::CCObject *v4; // r0
cocos2d::CCArray *v5; // r0
cocos2d::CCObject *v6; // r0
v2 = (cocos2d::CCDictionary *)cocos2d::CCNode::init(this);
v3 = v2;
if ( v2 )
{
v4 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v2);
*((_DWORD *)this + 67) = v4;
v5 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v4);
v6 = (cocos2d::CCObject *)cocos2d::CCArray::create(v5);
*((_DWORD *)this + 68) = v6;
cocos2d::CCObject::retain(v6);
MusicDownloadManager::generateResourceAssetList(this);
}
return v3;
}