//
// FMODAudioEngine::clearAllAudio from 0x1001b58b4 to 0x1001b5938 (132 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::resetAudio @ 0x10029a618
// > EndLevelLayer::onReplay @ 0x100393b28
// > EndLevelLayer::onRestartCheckpoint @ 0x100393db0
//
// This function is hookable on this platform (idp: arm, 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:00:10 +0000
//
__int64 __fastcall FMODAudioEngine::clearAllAudio(__int64 a1)
{
FMODAudioEngine::stopAllEffects(a1);
FMODAudioEngine::stopAllMusic(a1, 1);
sub_1000187C4(a1 + 592, *(_QWORD **)(a1 + 600));
*(_QWORD *)(a1 + 592) = a1 + 600;
*(_OWORD *)(a1 + 600) = 0u;
sub_1000187C4(a1 + 616, *(_QWORD **)(a1 + 624));
*(_QWORD *)(a1 + 616) = a1 + 624;
*(_OWORD *)(a1 + 624) = 0u;
sub_1000187C4(a1 + 640, *(_QWORD **)(a1 + 648));
*(_QWORD *)(a1 + 640) = a1 + 648;
*(_OWORD *)(a1 + 648) = 0u;
return sub_1001B5870(a1);
}