//
// GJBaseGameLayer::pauseAudio from 0x9a8794 to 0x9a87c0 (44 bytes)
//
// 8 xrefs:
// > PlayLayer::pauseGame @ 0x6f72a0
// > PlayLayer::loadFromCheckpoint @ 0x70f9d0
// > PlayLayer::startMusic @ 0x710e6c
// > PlayLayer::resetLevel @ 0x711920
// > LevelEditorLayer::onPausePlaytest @ 0x78d42c
// > EditorUI::onPlayback @ 0x7c29ac
// > EditorUI::onPlaytest @ 0x7ce6e0
// > ??> @ 0x82a08
//
// This function is hookable on this platform (idp: arm, 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:58:11 +0000
//
__int64 __fastcall GJBaseGameLayer::pauseAudio(GJBaseGameLayer *this)
{
__int64 v1; // x0
FMODAudioEngine *v2; // x0
__int64 v3; // x0
FMODAudioEngine *v4; // x0
__int64 v5; // x0
v1 = FMODAudioEngine::sharedEngine(this);
v2 = (FMODAudioEngine *)FMODAudioEngine::pauseAllAudio(v1);
v3 = FMODAudioEngine::sharedEngine(v2);
v4 = (FMODAudioEngine *)FMODAudioEngine::pauseAllMusic(v3, 1u);
v5 = FMODAudioEngine::sharedEngine(v4);
return FMOD::System::update(*(FMOD::System **)(v5 + 488));
}