//
// GJBaseGameLayer::resetAudio from 0x9a87e8 to 0x9a8808 (32 bytes)
//
// 5 xrefs:
// > PlayLayer::resumeAndRestart @ 0x6f7354
// > PlayLayer::onQuit @ 0x703708
// > PauseLayer::onEdit @ 0x7d6334
// > EndLevelLayer::goEdit @ 0x8f9924
// > ??> @ 0xcf250
//
// 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 12:58:11 +0000
//
__int64 __fastcall GJBaseGameLayer::resetAudio(GJBaseGameLayer *this)
{
FMOD::ChannelControl **v1; // x0
FMODAudioEngine *v2; // x0
__int64 v3; // x0
v1 = (FMOD::ChannelControl **)FMODAudioEngine::sharedEngine(this);
v2 = (FMODAudioEngine *)FMODAudioEngine::clearAllAudio(v1);
v3 = FMODAudioEngine::sharedEngine(v2);
return FMOD::System::update(*(FMOD::System **)(v3 + 488));
}