//
// FMODAudioEngine::isMusicPlaying_1 from 0x1001b9c88 to 0x1001b9ccc (68 bytes)
//
// 13 xrefs:
// > sub_10011F910 @ 0x10011f968
// > sub_10011F910 @ 0x10011f9e4
// > FMODAudioEngine::isMusicPlaying @ 0x1001b9db8
// > FMODAudioEngine::isPersistentMatchPlaying @ 0x1001ba1fc
// > SongOptionsLayer::onPlayback @ 0x1001c447c
// > SongOptionsLayer::updatePlaybackBtn @ 0x1001c4580
// > sub_100258D80 @ 0x100258da4
// > SetupSongTriggerPopup::onPlayback @ 0x100258fe8
// > SetupSongTriggerPopup::onClose @ 0x1002592fc
// > GJBaseGameLayer::update @ 0x10029b408
// > DrawGridLayer::update @ 0x10040c604
// > MusicBrowser::update @ 0x100469780
// > MusicBrowser::sliderEnded @ 0x100469bac
//
// 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 11:00:11 +0000
//
__int64 __fastcall FMODAudioEngine::isMusicPlaying_1(__int64 a1, int a2)
{
__int64 *ActiveMusicChannel; // x0
char v3; // w8
char v5; // [xsp+Fh] [xbp-1h] BYREF
v5 = 1;
ActiveMusicChannel = FMODAudioEngine::getActiveMusicChannel(a1, a2);
if ( ActiveMusicChannel )
{
FMOD::ChannelControl::getPaused(ActiveMusicChannel, &v5);
v3 = v5 ^ 1;
}
else
{
v3 = 0;
}
return v3 & 1;
}