//
// MusicDownloadManager::stopDownload from 0x10064b720 to 0x10064b769 (73 bytes)
//
// 2 xrefs:
// > CustomSFXWidget::onCancelDownload @ 0x1006b6a97
// > CustomSongWidget::onCancelDownload @ 0x1006f88e7
//
// This function is hookable on this platform (idp: pc, 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:34:47 +0000
//
__int64 __fastcall MusicDownloadManager::stopDownload(__int64 a1)
{
__int64 v1; // rax
__int64 CString; // r14
__int64 DLObject; // rax
char v5; // [rsp+0h] [rbp-10h]
v1 = sub_10088E820("d_%i", v5);
CString = cocos2d::CCString::getCString(v1);
DLObject = MusicDownloadManager::getDLObject(a1, CString);
if ( DLObject )
*(_BYTE *)(DLObject + 196) = 1;
return MusicDownloadManager::removeDLFromActive(a1, CString);
}