//
// GJBaseGameLayer::resetAudio from 0x595f3e to 0x595f58 (26 bytes)
//
// 4 xrefs:
// > PlayLayer::resumeAndRestart @ 0x4026aa
// > PlayLayer::onQuit @ 0x407b30
// > PauseLayer::onEdit @ 0x48f6b0
// > EndLevelLayer::goEdit @ 0x5340c6
//
// 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:53:09 +0000
//
int __fastcall GJBaseGameLayer::resetAudio(GJBaseGameLayer *this)
{
FMOD::ChannelControl **v1; // r0
FMODAudioEngine *v2; // r0
int v3; // r0
v1 = (FMOD::ChannelControl **)FMODAudioEngine::sharedEngine(this);
v2 = (FMODAudioEngine *)FMODAudioEngine::clearAllAudio(v1);
v3 = FMODAudioEngine::sharedEngine(v2);
return FMOD::System::update(*(FMOD::System **)(v3 + 364));
}