//
// sub_1001F9AC0 from 0x1001f9ac0 to 0x1001f9b38 (120 bytes)
//
// 2 xrefs:
// > FMODAudioEngine::resumeAudio @ 0x1001b5590
// > sub_1001F9B38 @ 0x1001f9b68
//
// 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:42 +0000
//
void sub_1001F9AC0()
{
__int64 v0; // x0
dispatch_time_t v1; // x0
__int64 v2; // [xsp+8h] [xbp-8h] BYREF
v2 = 0;
if ( -[AVAudioSession setActive:error:](
+[AVAudioSession sharedInstance](&OBJC_CLASS___AVAudioSession, "sharedInstance"),
"setActive:error:",
1,
&v2) )
{
v0 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::start(v0);
}
else if ( -[UIApplication applicationState](
+[UIApplication sharedApplication](&OBJC_CLASS___UIApplication, "sharedApplication"),
"applicationState") == UIApplicationStateActive )
{
v1 = dispatch_time(0, 2000000000);
dispatch_after(v1, (dispatch_queue_t)&_dispatch_main_q, &stru_1008F4C60);
}
}