//
// FMODAudioEngine::resumeAllMusic from 0x140059eb0 to 0x140059f08 (88 bytes)
//
// 3 xrefs:
// > AppDelegate::resumeSound @ 0x140083366
// > GJBaseGameLayer::resumeAudio @ 0x1402376b1
// > ??> @ 0x1406c5298
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void FMODAudioEngine::resumeAllMusic(FMODAudioEngine *a1)
{
std::_List_val>>::_Nodeptr Myhead; // rax
__int64 *v3; // rbx
FMOD::Channel *v4; // rax
Myhead = a1->m_fmodMusic._List._Mypair._Myval2._Myhead;
v3 = *(__int64 **)Myhead;
if ( *(std::_List_val>>::_Nodeptr *)Myhead != Myhead )
{
do
{
if ( *((int *)v3 + 4) >= 0 )
{
v4 = FMODAudioEngine::channelForChannelID(a1, *((_DWORD *)v3 + 6));
if ( v4 )
FMOD::ChannelControl::setPaused(v4, 0);
}
v3 = (__int64 *)*v3;
}
while ( v3 != (__int64 *)a1->m_fmodMusic._List._Mypair._Myval2._Myhead );
}
}