//
// GJBaseGameLayer::pauseAudio from 0x595ef8 to 0x595f1c (36 bytes)
//
// 7 xrefs:
// > PlayLayer::pauseGame @ 0x402638
// > PlayLayer::loadFromCheckpoint @ 0x41190a
// > PlayLayer::startMusic @ 0x412140
// > PlayLayer::resetLevel @ 0x412320
// > LevelEditorLayer::onPausePlaytest @ 0x462418
// > EditorUI::onPlayback @ 0x4823c2
// > EditorUI::onPlaytest @ 0x489e58
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:53:09 +0000
//
int __fastcall GJBaseGameLayer::pauseAudio(GJBaseGameLayer *this)
{
int v1; // r0
FMODAudioEngine *v2; // r0
FMODAudioEngine *v3; // r0
FMODAudioEngine *v4; // r0
int v5; // r0
v1 = FMODAudioEngine::sharedEngine(this);
v2 = (FMODAudioEngine *)FMODAudioEngine::pauseAllAudio(v1);
v3 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(v2);
v4 = FMODAudioEngine::pauseAllMusic(v3, 1);
v5 = FMODAudioEngine::sharedEngine(v4);
return FMOD::System::update(*(FMOD::System **)(v5 + 364));
}