//
// MusicDownloadManager::isRunningActionForSongID from 0x458104 to 0x45812e (42 bytes)
//
// 4 xrefs:
// > CustomSongWidget::updateSongInfo @ 0x3de6b6
// > CustomSongWidget::init @ 0x3df74c
// > CustomSFXWidget::updateSFXInfo @ 0x56e1da
// > CustomSFXWidget::init @ 0x56eef6
//
// 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
//
bool MusicDownloadManager::isRunningActionForSongID(MusicDownloadManager *a1, int a2)
{
const char *SongInfoKey; // r0
_BOOL4 isDLActive; // r0
const char *SongDownloadKey; // r1
SongInfoKey = MusicDownloadManager::getSongInfoKey(a1, a2);
isDLActive = MusicDownloadManager::isDLActive(a1, SongInfoKey);
if ( !isDLActive )
{
SongDownloadKey = MusicDownloadManager::getSongDownloadKey(a1, a2);
LOBYTE(isDLActive) = MusicDownloadManager::isDLActive(a1, SongDownloadKey);
}
return isDLActive;
}