//
// MusicDownloadManager::isRunningActionForSongID from 0x14033d4f0 to 0x14033d565 (117 bytes)
//
// 5 xrefs:
// > CustomSFXWidget::init @ 0x1400c1616
// > CustomSFXWidget::updateSFXInfo @ 0x1400c23e6
// > CustomSongWidget::init @ 0x1400c95b5
// > CustomSongWidget::updateSongInfo @ 0x1400cbd94
// > ??> @ 0x1406d55dc
//
// 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)
{
cocos2d::CCString *v4; // rax
const char *CString; // rax
cocos2d::CCString *v6; // rax
const char *v7; // rax
__int64 AchievementsWithID; // rax
v4 = cocos2d::CCString::createWithFormat("i_%i", a2);
CString = cocos2d::CCString::getCString(v4);
if ( AchievementManager::getAchievementsWithID((__int64)a1, (__int64)CString)
|| (v6 = cocos2d::CCString::createWithFormat("d_%i", a2),
v7 = cocos2d::CCString::getCString(v6),
(AchievementsWithID = AchievementManager::getAchievementsWithID((__int64)a1, (__int64)v7)) != 0) )
{
LOBYTE(AchievementsWithID) = 1;
}
return AchievementsWithID;
}