//
// FMODAudioEngine::resumeAllMusic from 0x3ecffc to 0x3ed022 (38 bytes)
//
// 2 xrefs:
// > GameManager::videoAdHidden @ 0x41415c
// > GJBaseGameLayer::resumeAudio @ 0x595f2a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:10 +0000
//
FMODAudioEngine *__fastcall FMODAudioEngine::resumeAllMusic(FMODAudioEngine *this)
{
FMODAudioEngine *v1; // r5
_DWORD *i; // r4
v1 = this;
for ( i = *((_DWORD **)this + 68); i; i = (_DWORD *)*i )
{
if ( (int)i[2] >= 0 )
{
this = (FMODAudioEngine *)FMODAudioEngine::channelForChannelID(v1, i[3]);
if ( this )
this = (FMODAudioEngine *)FMOD::ChannelControl::setPaused(this, 0);
}
}
return this;
}