// // FMODAudioEngine::pauseAllMusic from 0x1003d3fb0 to 0x1003d4034 (132 bytes) // // 5 xrefs: // > PlayLayer::destroyPlayer @ 0x100087eb1 // > PlayLayer::loadFromCheckpoint @ 0x10008aefe // > PlayLayer::resetLevel @ 0x10008c834 // > GJBaseGameLayer::pauseAudio @ 0x10012f09e // > GameManager::videoAdShowed @ 0x10036955d // // 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::pauseAllMusic(__int64 a1, char a2) { __int64 *v2; // r14 FMOD::ChannelControl *v3; // rax FMOD::ChannelControl *v4; // rax v2 = *(__int64 **)(a1 + 336); if ( v2 ) { if ( a2 ) { do { v3 = (FMOD::ChannelControl *)FMODAudioEngine::channelForChannelID(a1, *((_DWORD *)v2 + 6)); if ( v3 ) FMOD::ChannelControl::setPaused(v3, 1); v2 = (__int64 *)*v2; } while ( v2 ); } else { do { if ( !*((_BYTE *)v2 + 65) ) { v4 = (FMOD::ChannelControl *)FMODAudioEngine::channelForChannelID(a1, *((_DWORD *)v2 + 6)); if ( v4 ) FMOD::ChannelControl::setPaused(v4, 1); } v2 = (__int64 *)*v2; } while ( v2 ); } } }