//
// FMODAudioEngine::resumeAllMusic from 0x1003d4040 to 0x1003d4091 (81 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::resumeAudio @ 0x10012f0d9
// > GJBaseGameLayer::tryResumeAudio @ 0x10012f151
// > GJBaseGameLayer::update @ 0x10012f290
// > GameManager::videoAdHidden @ 0x10036959a
//
// 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:40 +0000
//
void __fastcall FMODAudioEngine::resumeAllMusic(__int64 a1)
{
__int64 *i; // r14
FMOD::ChannelControl *v2; // rax
for ( i = *(__int64 **)(a1 + 336); i; i = (__int64 *)*i )
{
if ( *((int *)i + 4) >= 0 )
{
v2 = (FMOD::ChannelControl *)FMODAudioEngine::channelForChannelID(a1, *((_DWORD *)i + 6));
if ( v2 )
FMOD::ChannelControl::setPaused(v2, 0);
}
}
}