//
// MusicDownloadManager::getDownloadProgress from 0x4580e8 to 0x458104 (28 bytes)
//
// 1 xrefs:
// > CustomSongWidget::updateDownloadProgress @ 0x3df9f8
//
// 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
//
int MusicDownloadManager::getDownloadProgress(MusicDownloadManager *a1, int a2)
{
const char *SongDownloadKey; // r0
cocos2d::CCObject *DLObject; // r0
SongDownloadKey = MusicDownloadManager::getSongDownloadKey(a1, a2);
DLObject = MusicDownloadManager::getDLObject(a1, SongDownloadKey);
if ( DLObject )
return DLObject[2].m_nLuaID;
else
return -1;
}