//
// GJBaseGameLayer::pauseAudio from 0x8660b0 to 0x8660dc (44 bytes)
//
// 8 xrefs:
// > PlayLayer::pauseGame @ 0x5d26e8
// > PlayLayer::startMusic @ 0x5e4578
// > PlayLayer::loadFromCheckpoint @ 0x5e4f38
// > PlayLayer::resetLevel @ 0x5e5874
// > LevelEditorLayer::onPausePlaytest @ 0x661670
// > EditorUI::onPlayback @ 0x689588
// > EditorUI::onPlaytest @ 0x6bee44
// > ??> @ 0x5fa48
//
// 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 GJBaseGameLayer::pauseAudio(GJBaseGameLayer *a1)
{
FMODAudioEngine *v1; // x0
FMODAudioEngine *v2; // x0
FMODAudioEngine *v3; // x0
v1 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::pauseAllAudio(v1);
v2 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::pauseAllMusic(v2, 1);
v3 = FMODAudioEngine::sharedEngine();
FMOD::System::update(v3->m_system);
}