//
// MusicDownloadManager::storeSFXInfoObject from 0x100596400 to 0x100596452 (82 bytes)
//
// 0 xrefs:
//
// 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; // rsi
cocos2d::CCObject *v4; // rax
cocos2d::CCDictionary::setObject(a1->m_sfxObjects, a2, a2->m_sfxID);
m_folderID = a2->m_folderID;
if ( m_folderID > 0 )
{
v4 = cocos2d::CCDictionary::objectForKey(a1->m_sfxObjects, m_folderID);
if ( v4 )
{
if ( LOBYTE(v4[1].m_nTag) == 1 )
sub_10071FCD0(*(_QWORD *)&v4[1].m_uOrderOfArrival, a2);
}
}
}