// // sub_1001FA29C from 0x1001fa29c to 0x1001fa3dc (320 bytes) // // 1 xrefs: // > @ 0x1008f4d00 // // 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 __cdecl sub_1001FA29C(id a1, NSNotification *a2) { NSDictionary *v2; // x19 __int64 v3; // x0 __int64 v4; // x0 __int64 v5; // x0 unsigned __int8 v6; // w19 __int64 v7; // x0 v2 = -[NSNotification userInfo](a2, "userInfo"); if ( (unsigned int)objc_msgSend( -[NSDictionary valueForKey:](v2, "valueForKey:", AVAudioSessionInterruptionTypeKey), "intValue") == 1 ) { if ( (unsigned int)sub_100754934(2, 16, 0, 0) ) { FMODAudioEngine::sharedEngine(); FMODAudioEngine::logLifecycleState(); LABEL_10: if ( -[UIApplication applicationState]( +[UIApplication sharedApplication](&OBJC_CLASS___UIApplication, "sharedApplication"), "applicationState") ) { v7 = FMODAudioEngine::sharedEngine(); sub_1001B56B0(v7); } return; } if ( (unsigned int)sub_100754934(2, 14, 5, 0) ) v6 = (unsigned int)objc_msgSend( -[NSDictionary valueForKey:](v2, "valueForKey:", AVAudioSessionInterruptionReasonKey), "intValue") == 1; else v6 = (unsigned __int8)objc_msgSend( -[NSDictionary valueForKey:]( v2, "valueForKey:", AVAudioSessionInterruptionWasSuspendedKey), "boolValue"); FMODAudioEngine::sharedEngine(); FMODAudioEngine::logLifecycleState(); if ( (v6 & 1) == 0 ) goto LABEL_10; } else { FMODAudioEngine::sharedEngine(); FMODAudioEngine::logLifecycleState(); if ( -[UIApplication applicationState]( +[UIApplication sharedApplication](&OBJC_CLASS___UIApplication, "sharedApplication"), "applicationState") == UIApplicationStateActive ) { v3 = FMODAudioEngine::sharedEngine(); v4 = sub_1001B56B0(v3); v5 = AppDelegate::get(v4); (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 112LL))(v5); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source