//
// MusicDownloadManager::isRunningActionForSongID from 0x95c3fc to 0x95c454 (88 bytes)
//
// 5 xrefs:
// > CustomSongWidget::updateSongInfo @ 0x86a294
// > CustomSongWidget::init @ 0x86bffc
// > CustomSFXWidget::updateSFXInfo @ 0xb5eb94
// > CustomSFXWidget::init @ 0xb602e0
// > ??> @ 0x8cd28
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:57:29 +0000
//
bool __fastcall MusicDownloadManager::isRunningActionForSongID(MusicDownloadManager *this, const char *a2)
{
unsigned int v3; // w20
const char *SongInfoKey; // x0
_BOOL8 result; // x0
const char *SongDownloadKey; // x0
v3 = (unsigned int)a2;
SongInfoKey = (const char *)MusicDownloadManager::getSongInfoKey(this, a2);
result = MusicDownloadManager::isDLActive(this, SongInfoKey);
if ( !(_BYTE)result )
{
SongDownloadKey = (const char *)MusicDownloadManager::getSongDownloadKey(this, (const char *)v3);
return MusicDownloadManager::isDLActive(this, SongDownloadKey);
}
return result;
}