// // FMODAudioEngine::clearAllAudio from 0x14005e0d0 to 0x14005e172 (162 bytes) // // 4 xrefs: // > EndLevelLayer::onReplay @ 0x14020626e // > EndLevelLayer::onRestartCheckpoint @ 0x1402068be // > GJBaseGameLayer::resetAudio @ 0x1403405d4 // > @ 0x14091091c // // 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:43 +0000 // __int64 __fastcall FMODAudioEngine::clearAllAudio(__int64 a1) { __int64 result; // rax __int64 v3; // rcx FMODAudioEngine::stopAllEffects(); if ( *(_QWORD *)(a1 + 552) ) FMOD::ChannelControl::stop(); sub_14003EB60((_QWORD *)(a1 + 1096)); sub_14003EB60((_QWORD *)(a1 + 1160)); sub_14003EB60((_QWORD *)(a1 + 1224)); sub_140067440(a1 + 664); sub_140067440(a1 + 680); result = sub_140067440(a1 + 696); if ( *(_BYTE *)(a1 + 617) ) { v3 = *(_QWORD *)(a1 + 552); *(_BYTE *)(a1 + 617) = 0; FMOD::ChannelControl::setPaused(v3, 0); return FMOD::ChannelControl::setPaused(*(_QWORD *)(a1 + 584), 0); } return result; }