//
// FMODAudioEngine::isMusicPlaying from 0x10013cecc to 0x10013cf48 (124 bytes)
//
// 6 xrefs:
// > CustomSongWidget::onPlayback @ 0x1000fad00
// > CustomSongWidget::updatePlaybackBtn @ 0x1000fcc08
// > CustomSongWidget::deleteSong @ 0x1000fcdf8
// > CustomSongCell::onDelete @ 0x1001102ec
// > GameManager::playMenuMusic @ 0x10031211c
// > GameManager::fadeInMusic @ 0x1003123d4
//
// 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 __fastcall FMODAudioEngine::isMusicPlaying(FMODAudioEngine *a1, _QWORD *a2, __int64 a3)
{
int v3; // w19
_BOOL8 v6; // x19
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v9; // [xsp+1Fh] [xbp-21h]
v3 = a3;
FMODAudioEngine::getActiveMusic(__p, a1, a3);
v6 = sub_1000045BC(__p, a2) && FMODAudioEngine::isMusicPlaying_1(a1, v3);
if ( v9 < 0 )
operator delete(__p[0]);
return v6;
}