//
// MusicDownloadManager::stopDownload from 0x45812e to 0x458154 (38 bytes)
//
// 2 xrefs:
// > CustomSongWidget::onCancelDownload @ 0x3dd5ec
// > CustomSFXWidget::onCancelDownload @ 0x56dc18
//
// 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::stopDownload(MusicDownloadManager *a1, int a2)
{
const char *SongDownloadKey; // r4
cocos2d::CCObject *DLObject; // r0
SongDownloadKey = MusicDownloadManager::getSongDownloadKey(a1, a2);
DLObject = MusicDownloadManager::getDLObject(a1, SongDownloadKey);
if ( DLObject )
LOBYTE(DLObject[2].m_uID) = 1;
MusicDownloadManager::removeDLFromActive(a1, SongDownloadKey);
}