//
// MusicDownloadManager::storeSFXInfoObject from 0x10015a9c8 to 0x10015aa2c (100 bytes)
//
// 2 xrefs:
// > MusicDownloadManager::parseSFXLibrary @ 0x10015a658
// > MusicDownloadManager::parseSFXLibrary @ 0x10015a69c
//
// 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 __fastcall MusicDownloadManager::storeSFXInfoObject(MusicDownloadManager *a1, SFXInfoObject *a2)
{
intptr_t m_folderID; // x1
cocos2d::CCObject *v5; // x0
cocos2d::CCDictionary::setObject(a1->m_sfxObjects, a2, a2->m_sfxID);
m_folderID = (unsigned int)a2->m_folderID;
if ( (int)m_folderID >= 1 )
{
v5 = cocos2d::CCDictionary::objectForKey(a1->m_sfxObjects, m_folderID);
if ( v5 )
{
if ( LOBYTE(v5[1].m_nTag) == 1 )
sub_10024A2D0(*(_QWORD *)&v5[1].m_uOrderOfArrival, a2);
}
}
}