//
// MusicDownloadManager::getDownloadProgress from 0x56c9a4 to 0x56c9c2 (30 bytes)
//
// 1 xrefs:
// > CustomSongWidget::updateDownloadProgress @ 0x4e4fb0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:52:33 +0000
//
int __fastcall MusicDownloadManager::getDownloadProgress(MusicDownloadManager *this, const char *a2)
{
const char *SongDownloadKey; // r0
int DLObject; // r0
SongDownloadKey = (const char *)MusicDownloadManager::getSongDownloadKey(this, a2);
DLObject = MusicDownloadManager::getDLObject(this, SongDownloadKey);
if ( DLObject )
return *(_DWORD *)(DLObject + 128);
else
return -1;
}