//
// MusicDownloadManager::getDownloadProgress from 0x100156b2c to 0x100156b80 (84 bytes)
//
// 1 xrefs:
// > CustomSongWidget::updateDownloadProgress @ 0x1000fd45c
//
// 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 __fastcall MusicDownloadManager::getDownloadProgress(MusicDownloadManager *a1, int a2)
{
cocos2d::CCString *v3; // x0
const char *CString; // x0
cocos2d::CCObject *DLObject; // x0
v3 = (cocos2d::CCString *)sub_100268F4C("d_%i", a2);
CString = cocos2d::CCString::getCString(v3);
DLObject = MusicDownloadManager::getDLObject(a1, CString);
if ( DLObject )
return DLObject[3].m_uIndexInArray;
else
return -1;
}