//
// MusicDownloadManager::storeSFXInfoObject from 0x4587a2 to 0x4587d6 (52 bytes)
//
// 2 xrefs:
// > MusicDownloadManager::parseSFXLibrary @ 0x45aa7a
// > MusicDownloadManager::parseSFXLibrary @ 0x45aaa8
//
// 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)
{
intptr_t m_folderID; // r1
cocos2d::CCObject *v5; // r0
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_uReference) )
cocos2d::CCArray::addObject((cocos2d::CCArray *)v5[1].m_eObjType, a2);
}
}
}