//
// MusicDownloadManager::isRunningActionForSongID from 0x140482870 to 0x1404828e5 (117 bytes)
//
// 5 xrefs:
// > CustomSFXWidget::init @ 0x1401617a6
// > CustomSFXWidget::updateSFXInfo @ 0x140162b2e
// > CustomSongWidget::init @ 0x14016a672
// > CustomSongWidget::updateSongInfo @ 0x14016ccd4
// > ??> @ 0x1409289dc
//
// This function is hookable on this platform (idp: pc, 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 11:32:45 +0000
//
char __fastcall MusicDownloadManager::isRunningActionForSongID(__int64 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(a1, (__int64)CString)
|| (v6 = cocos2d::CCString::createWithFormat("d_%i", a2),
v7 = cocos2d::CCString::getCString(v6),
(AchievementsWithID = AchievementManager::getAchievementsWithID(a1, (__int64)v7)) != 0) )
{
LOBYTE(AchievementsWithID) = 1;
}
return AchievementsWithID;
}