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