//
// GJBaseGameLayer::pauseAudio from 0x10012f080 to 0x10012f0b5 (53 bytes)
//
// 7 xrefs:
// > EditorUI::onPlayback @ 0x100008595
// > EditorUI::onPlaytest @ 0x1000087d1
// > PlayLayer::startMusic @ 0x100080a22
// > PlayLayer::loadFromCheckpoint @ 0x10008af08
// > PlayLayer::resetLevel @ 0x10008c83e
// > PlayLayer::pauseGame @ 0x10008da51
// > LevelEditorLayer::onPausePlaytest @ 0x1000c6a87
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:24:46 +0000
//
__int64 __fastcall GJBaseGameLayer::pauseAudio(double a1)
{
__int64 v1; // rax
double v2; // xmm0_8
__int64 v3; // rax
double v4; // xmm0_8
__int64 v5; // rax
v1 = FMODAudioEngine::sharedEngine(a1);
v2 = FMODAudioEngine::pauseAllAudio(v1);
v3 = FMODAudioEngine::sharedEngine(v2);
v4 = FMODAudioEngine::pauseAllMusic(v3, 1);
v5 = FMODAudioEngine::sharedEngine(v4);
return FMOD::System::update(*(FMOD::System **)(v5 + 488));
}