//
// FMODAudioEngine::isMusicPlaying from 0x6d7a10 to 0x6d7a70 (96 bytes)
//
// 15 xrefs:
// > FMODAudioEngine::isMusicPlaying @ 0x6d7ef4
// > FMODAudioEngine::isPersistentMatchPlaying @ 0x6d7f50
// > GameManager::videoAdShowed @ 0x715b98
// > DrawGridLayer::update @ 0x787364
// > CustomSongWidget::onPlayback @ 0x869214
// > CustomSongWidget::onPlayback @ 0x869228
// > SongOptionsLayer::updatePlaybackBtn @ 0x97f510
// > SongOptionsLayer::onPlayback @ 0x97f5ac
// > GJBaseGameLayer::update @ 0x9ee214
// > SetupSongTriggerPopup::onPlayback @ 0xaea078
// > SetupSongTriggerPopup::onSavePlaybackPos @ 0xaea288
// > SetupSongTriggerPopup::onClose @ 0xaea464
// > MusicBrowser::update @ 0xb838e4
// > MusicBrowser::sliderEnded @ 0xb83a70
// > ??> @ 0x792e8
//
// 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:51:31 +0000
//
bool __fastcall FMODAudioEngine::isMusicPlaying(FMODAudioEngine *this, int a2)
{
FMOD::ChannelControl *ActiveMusicChannel; // x0
bool v4; // [xsp+27h] [xbp+27h] BYREF
v4 = 1;
ActiveMusicChannel = (FMOD::ChannelControl *)FMODAudioEngine::getActiveMusicChannel(this, a2);
if ( ActiveMusicChannel )
FMOD::ChannelControl::getPaused(ActiveMusicChannel, &v4);
return !v4;
}