//
// MusicDownloadManager::storeSFXInfoObject from 0x82ad00 to 0x82ad64 (100 bytes)
//
// 3 xrefs:
// > MusicDownloadManager::parseSFXLibrary @ 0x83100c
// > MusicDownloadManager::parseSFXLibrary @ 0x8310c4
// > ??> @ 0xb1108
//
// 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::storeSFXInfoObject(MusicDownloadManager *a1, SFXInfoObject *a2)
{
int m_folderID; // w1
cocos2d::CCObject *v5; // x0
cocos2d::CCDictionary::setObject(a1->m_sfxObjects, a2, a2->m_sfxID);
m_folderID = a2->m_folderID;
if ( m_folderID > 0 )
{
v5 = cocos2d::CCDictionary::objectForKey(a1->m_sfxObjects, m_folderID);
if ( v5 )
{
if ( LOBYTE(v5[1].m_nTag) )
cocos2d::CCArray::addObject(*(cocos2d::CCArray **)&v5[1].m_uIndexInArray, a2);
}
}
}