//
// MusicDownloadManager::clearSong from 0x457f24 to 0x457f74 (80 bytes)
//
// 1 xrefs:
// > MusicDownloadManager::clearUnusedSongs @ 0x459ba0
//
// 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::clearSong(MusicDownloadManager *a1, int a2)
{
cocos2d::CCDictionary *m_songObjects; // r6
cocos2d::CCString *v3; // r0
char *CString; // r0
_BYTE v5[4]; // [sp+8h] [bp-8h] BYREF
m_songObjects = a1->m_songObjects;
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a2);
CString = (char *)cocos2d::CCString::getCString(v3);
sub_776584((int)v5, CString);
cocos2d::CCDictionary::removeObjectForKey(m_songObjects);
sub_774008(v5);
}