//
// MusicDownloadManager::firstSetup from 0x829dc4 to 0x829e20 (92 bytes)
//
// 2 xrefs:
// > GameManager::firstLoad @ 0x5f0b88
// > ??> @ 0x3b688
//
// 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
//
void MusicDownloadManager::firstSetup(MusicDownloadManager *a1)
{
cocos2d::CCDictionary *v2; // x0
cocos2d::CCDictionary *v3; // x20
cocos2d::CCDictionary *m_songObjects; // x1
if ( !a1->m_songObjects )
{
v2 = cocos2d::CCDictionary::create();
v3 = v2;
m_songObjects = a1->m_songObjects;
if ( v2 != m_songObjects )
{
if ( v2 )
{
cocos2d::CCObject::retain(v2);
m_songObjects = a1->m_songObjects;
}
if ( m_songObjects )
cocos2d::CCObject::release(m_songObjects);
a1->m_songObjects = v3;
}
}
a1->m_songPriority = 0;
}