//
// FMODAudioEngine::isMusicPlaying_1 from 0x1003d3f70 to 0x1003d3faa (58 bytes)
//
// 13 xrefs:
// > DrawGridLayer::update @ 0x1000d6fd1
// > GJBaseGameLayer::update @ 0x100130e39
// > SongOptionsLayer::onPlayback @ 0x1001faa1a
// > SongOptionsLayer::onPlayback @ 0x1001faae9
// > SongOptionsLayer::updatePlaybackBtn @ 0x1001fab74
// > SetupSongTriggerPopup::onSavePlaybackPos @ 0x1002c08c2
// > SetupSongTriggerPopup::onPlayback @ 0x1002c0af1
// > SetupSongTriggerPopup::onClose @ 0x1002c0eb7
// > GameManager::videoAdShowed @ 0x100369547
// > MusicBrowser::update @ 0x1006e91f8
// > MusicBrowser::sliderEnded @ 0x1006e9653
// > CustomSongWidget::onPlayback @ 0x1006f8b4e
// > CustomSongWidget::onPlayback @ 0x1006f8bc9
//
// 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 12:29:40 +0000
//
bool __fastcall FMODAudioEngine::isMusicPlaying_1(__int64 a1, int a2)
{
FMOD::ChannelControl *ActiveMusicChannel; // rax
bool v4; // [rsp+Fh] [rbp-1h] BYREF
v4 = 1;
ActiveMusicChannel = (FMOD::ChannelControl *)FMODAudioEngine::getActiveMusicChannel(a1, a2);
if ( !ActiveMusicChannel )
return 0;
FMOD::ChannelControl::getPaused(ActiveMusicChannel, &v4);
return !v4;
}