//
// FMODAudioEngine::pauseAllAudio from 0x6ca920 to 0x6ca96c (76 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::pauseAudio @ 0x9a87a0
// > ??> @ 0x631f0
//
// 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:51:22 +0000
//
__int64 __fastcall FMODAudioEngine::pauseAllAudio(__int64 this)
{
__int64 v1; // x19
FMOD::ChannelControl *v2; // x0
if ( !*(_BYTE *)(this + 545) )
{
v1 = this;
v2 = *(FMOD::ChannelControl **)(this + 480);
*(_BYTE *)(v1 + 545) = 1;
FMOD::ChannelControl::setPaused(v2, 1);
return FMOD::ChannelControl::setPaused(*(FMOD::ChannelControl **)(v1 + 512), 1);
}
return this;
}