//
// AppDelegate::applicationWillTerminate from 0x10073ba20 to 0x10073ba57 (55 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b9ada8
//
// 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:36:27 +0000
//
double __fastcall AppDelegate::applicationWillTerminate(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rax
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 64LL))(a1, 0);
v1 = GameManager::sharedState();
sub_1004A5220(v1, 2.0);
v2 = LocalLevelManager::sharedState();
return sub_1004A5220(v2, 2.0);
}