//
// FMODAudioEngine::resumeAllMusic from 0x140062ab0 to 0x140062b08 (88 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::resumeAudio @ 0x140340534
// > ??> @ 0x140910bf8
//
// 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 11:25:44 +0000
//
_QWORD *__fastcall FMODAudioEngine::resumeAllMusic(_QWORD *a1)
{
_QWORD *result; // rax
_QWORD *v3; // rbx
result = (_QWORD *)a1[41];
v3 = (_QWORD *)*result;
if ( (_QWORD *)*result != result )
{
do
{
if ( *((int *)v3 + 4) >= 0 )
{
result = (_QWORD *)FMODAudioEngine::channelForChannelID(a1, *((_DWORD *)v3 + 6));
if ( result )
result = (_QWORD *)FMOD::ChannelControl::setPaused(result, 0);
}
v3 = (_QWORD *)*v3;
}
while ( v3 != (_QWORD *)a1[41] );
}
return result;
}