//
// MusicDownloadManager::init from 0x1001d2ba4 to 0x1001d2bf0 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008efd40
//
// 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 11:00:23 +0000
//
__int64 __fastcall MusicDownloadManager::init(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x20
__int64 v4; // x0
__int64 v5; // x0
__int64 v6; // x0
v2 = cocos2d::CCNode::init(a1);
v3 = v2;
if ( (_DWORD)v2 )
{
v4 = cocos2d::CCDictionary::create(v2);
*(_QWORD *)(a1 + 328) = v4;
v5 = cocos2d::CCObject::retain(v4);
v6 = sub_1002E736C(v5);
*(_QWORD *)(a1 + 336) = v6;
cocos2d::CCObject::retain(v6);
MusicDownloadManager::generateResourceAssetList(a1);
}
return v3;
}