//
// GJBaseGameLayer::resetAudio from 0x10012f0f0 to 0x10012f113 (35 bytes)
//
// 4 xrefs:
// > PlayLayer::onQuit @ 0x100080504
// > PlayLayer::resumeAndRestart @ 0x10008db2e
// > PauseLayer::onEdit @ 0x1003c3074
// > EndLevelLayer::goEdit @ 0x1004bc167
//
// 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:24:46 +0000
//
__int64 __fastcall GJBaseGameLayer::resetAudio(double a1)
{
__int64 v1; // rax
double v2; // xmm0_8
__int64 v3; // rax
v1 = FMODAudioEngine::sharedEngine(a1);
v2 = FMODAudioEngine::clearAllAudio(v1);
v3 = FMODAudioEngine::sharedEngine(v2);
return FMOD::System::update(*(FMOD::System **)(v3 + 488));
}