//
// FMODAudioEngine::isMusicPlaying from 0x3ef4ac to 0x3ef4e4 (56 bytes)
//
// 14 xrefs:
// > FMODAudioEngine::isMusicPlaying @ 0x3ef7ce
// > FMODAudioEngine::isPersistentMatchPlaying @ 0x3ef818
// > GameManager::videoAdShowed @ 0x414130
// > DrawGridLayer::update @ 0x45e9ee
// > CustomSongWidget::onPlayback @ 0x4e301c
// > CustomSongWidget::onPlayback @ 0x4e3028
// > SongOptionsLayer::updatePlaybackBtn @ 0x57b652
// > SongOptionsLayer::onPlayback @ 0x57b836
// > GJBaseGameLayer::update @ 0x5be412
// > SetupSongTriggerPopup::onSavePlaybackPos @ 0x658272
// > SetupSongTriggerPopup::onClose @ 0x658344
// > SetupSongTriggerPopup::onPlayback @ 0x65858e
// > MusicBrowser::update @ 0x6bd290
// > MusicBrowser::sliderEnded @ 0x6bd390
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:12 +0000
//
bool __fastcall FMODAudioEngine::isMusicPlaying(FMODAudioEngine *this, unsigned int a2)
{
FMOD::ChannelControl *ActiveMusicChannel; // r0
bool v4; // [sp+3h] [bp-5h] BYREF
unsigned int v5; // [sp+4h] [bp-4h]
v5 = a2;
v4 = 1;
ActiveMusicChannel = (FMOD::ChannelControl *)FMODAudioEngine::getActiveMusicChannel(this, a2);
if ( ActiveMusicChannel )
FMOD::ChannelControl::getPaused(ActiveMusicChannel, &v4);
return !v4;
}