//
// MusicDownloadManager::clearSong from 0x1001560bc to 0x10015611c (96 bytes)
//
// 1 xrefs:
// > MusicDownloadManager::clearUnusedSongs @ 0x100156280
//
// 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::clearSong(MusicDownloadManager *a1, int a2)
{
cocos2d::CCDictionary *m_songObjects; // x19
cocos2d::CCString *v3; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
m_songObjects = a1->m_songObjects;
v3 = (cocos2d::CCString *)sub_100268F4C("%i", a2);
CString = (char *)cocos2d::CCString::getCString(v3);
sub_100009900(__p, CString);
cocos2d::CCDictionary::removeObjectForKey_1((int)m_songObjects, (char *)__p);
if ( v6 < 0 )
operator delete(__p[0]);
}