//
// MusicDownloadManager::stopDownload from 0x95c454 to 0x95c498 (68 bytes)
//
// 3 xrefs:
// > CustomSongWidget::onCancelDownload @ 0x867ea4
// > CustomSFXWidget::onCancelDownload @ 0xb5d8c8
// > ??> @ 0x5c620
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:57:29 +0000
//
__int64 __fastcall MusicDownloadManager::stopDownload(MusicDownloadManager *this, const char *a2)
{
const char *SongDownloadKey; // x19
__int64 DLObject; // x0
SongDownloadKey = (const char *)MusicDownloadManager::getSongDownloadKey(this, a2);
DLObject = MusicDownloadManager::getDLObject(this, SongDownloadKey);
if ( DLObject )
*(_BYTE *)(DLObject + 196) = 1;
return MusicDownloadManager::removeDLFromActive(this, SongDownloadKey);
}