//
// AppDelegate::pauseSound from 0x5be2bc to 0x5be310 (84 bytes)
//
// 2 xrefs:
// > AppDelegate::applicationDidEnterBackground @ 0x5be320
// > ??> @ 0x97ad0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void AppDelegate::pauseSound(AppDelegate *a1)
{
FMODAudioEngine *v2; // x0
FMODAudioEngine *v3; // x0
FMODAudioEngine *v4; // x0
FMODAudioEngine *v5; // x0
v2 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::pauseAllEffects(v2);
if ( a1->m_glViewSetup )
{
v3 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::pauseAllMusic(v3, 1);
}
v4 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::stop(v4);
v5 = FMODAudioEngine::sharedEngine();
v5->update(v5, 0.0);
}