//
// FMODAudioEngine::pauseAllAudio from 0x1001b582c to 0x1001b5870 (68 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::pauseAudio @ 0x10029a5c4
//
// 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 11:00:10 +0000
//
__int64 __fastcall FMODAudioEngine::pauseAllAudio(__int64 result)
{
__int64 v1; // x19
if ( (*(_BYTE *)(result + 545) & 1) == 0 )
{
v1 = result;
*(_BYTE *)(result + 545) = 1;
FMOD::ChannelControl::setPaused(*(_QWORD *)(result + 480), 1);
return FMOD::ChannelControl::setPaused(*(_QWORD *)(v1 + 512), 1);
}
return result;
}