//
// GJBaseGameLayer::pauseAudio from 0x100151160 to 0x100151195 (53 bytes)
//
// 7 xrefs:
// > EditorUI::onPlayback @ 0x10000c325
// > EditorUI::onPlaytest @ 0x10000c552
// > PlayLayer::startMusic @ 0x1000b32ee
// > PlayLayer::loadFromCheckpoint @ 0x1000bd3a8
// > PlayLayer::resetLevel @ 0x1000be473
// > PlayLayer::pauseGame @ 0x1000bf396
// > LevelEditorLayer::onPausePlaytest @ 0x1000f2c00
//
// 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; // rax
FMODAudioEngine *v2; // rax
FMODAudioEngine *v3; // rax
v1 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::pauseAllAudio(v1);
v2 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::pauseAllMusic(v2, 1);
v3 = FMODAudioEngine::sharedEngine();
FMOD::System::update(v3->m_system);
}