//
// FMODAudioEngine::resumeAllMusic from 0x1003e6ae0 to 0x1003e6b31 (81 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::resumeAudio @ 0x1001511b9
// > GJBaseGameLayer::tryResumeAudio @ 0x100151231
// > GJBaseGameLayer::update @ 0x100151370
// > GameManager::videoAdHidden @ 0x10038023a
// > AppDelegate::resumeSound @ 0x10065c640
//
// 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 __fastcall FMODAudioEngine::resumeAllMusic(FMODAudioEngine *a1)
{
std::__hash_node_base, void *> *>::__next_pointer i; // r14
FMOD::Channel *v2; // rax
for ( i = a1->m_fmodMusic.__table_.__p1_.__value_.__next_; i; i = i->__next_ )
{
if ( SLODWORD(i[2].__next_) >= 0 )
{
v2 = FMODAudioEngine::channelForChannelID(a1, (int)i[3].__next_);
if ( v2 )
FMOD::ChannelControl::setPaused(v2, 0);
}
}
}