//
// MusicDownloadManager::getSFXDownloadProgress from 0x10058fa10 to 0x10058fa58 (72 bytes)
//
// 1 xrefs:
// > CustomSFXWidget::updateDownloadProgress @ 0x1005e49c0
//
// 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)
{
char v2; // al
cocos2d::CCString *v3; // rax
const char *CString; // rax
cocos2d::CCObject *DLObject; // rax
v3 = (cocos2d::CCString *)sub_1007AB580("sfx_%i", v2);
CString = cocos2d::CCString::getCString(v3);
DLObject = MusicDownloadManager::getDLObject(a1, CString);
if ( DLObject )
return DLObject[3].m_uIndexInArray;
else
return -1;
}