//
// FMODAudioEngine::pauseAllAudio from 0x5ab4cc to 0x5ab518 (76 bytes)
//
// 3 xrefs:
// > Java_com_customRobTop_JniToCpp_didShowInterstitial @ 0x4ed9fc
// > GJBaseGameLayer::pauseAudio @ 0x8660bc
// > ??> @ 0x45be8
//
// 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
//
void FMODAudioEngine::pauseAllAudio(FMODAudioEngine *a1)
{
FMOD::ChannelGroup *m_backgroundMusicChannel; // x0
if ( !a1->m_allAudioPaused )
{
m_backgroundMusicChannel = a1->m_backgroundMusicChannel;
a1->m_allAudioPaused = 1;
FMOD::ChannelControl::setPaused(m_backgroundMusicChannel, 1);
FMOD::ChannelControl::setPaused(a1->m_globalChannel, 1);
}
}