//
// FMODAudioEngine::resumeAllAudio from 0x1003cb3e0 to 0x1003cb41f (63 bytes)
//
// 6 xrefs:
// > PlayLayer::resume @ 0x10008dc5c
// > LevelEditorLayer::onStopPlaytest @ 0x1000c7156
// > GJBaseGameLayer::resumeAudio @ 0x10012f0cc
// > GJBaseGameLayer::tryResumeAudio @ 0x10012f144
// > GJBaseGameLayer::update @ 0x10012f283
// > sub_100369620 @ 0x100369649
//
// 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:29:36 +0000
//
__int64 __fastcall FMODAudioEngine::resumeAllAudio(__int64 a1)
{
__int64 result; // rax
if ( *(_BYTE *)(a1 + 545) == 1 )
{
*(_BYTE *)(a1 + 545) = 0;
FMOD::ChannelControl::setPaused(*(FMOD::ChannelControl **)(a1 + 480), 0);
return FMOD::ChannelControl::setPaused(*(FMOD::ChannelControl **)(a1 + 512), 0);
}
return result;
}