//
// GJBaseGameLayer::pauseAudio from 0x1001fe480 to 0x1001fe4ac (44 bytes)
//
// 7 xrefs:
// > PlayLayer::startMusic @ 0x100119898
// > PlayLayer::loadFromCheckpoint @ 0x100121050
// > PlayLayer::resetLevel @ 0x100121c40
// > PlayLayer::pauseGame @ 0x1001228ac
// > LevelEditorLayer::onPausePlaytest @ 0x1003630b8
// > EditorUI::onPlayback @ 0x1003c76d0
// > EditorUI::onPlaytest @ 0x1003c78bc
//
// 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 __fastcall 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);
}