// // AppDelegate::trySaveGame from 0x10065c750 to 0x10065c82a (218 bytes) // // 1 xrefs: // > @ 0x100986b50 // // 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 __fastcall AppDelegate::trySaveGame(AppDelegate *a1, bool a2) { GameManager *v2; // rax LocalLevelManager *v3; // rax float v4; // xmm0_4 timeb v5; // [rsp+8h] [rbp-18h] BYREF if ( a2 ) { a1->m_saveTime = 0.0; } else if ( a1->m_saveTime != 0.0 ) { ftime(&v5); if ( (double)(v5.millitm + 1000 * (v5.time & 0xFFFFF)) / 1000.0 - a1->m_saveTime < 10.0 ) return; } if ( a1->m_loadingFinished ) { v2 = GameManager::sharedState(); GManager::save(v2); v3 = LocalLevelManager::sharedState(); GManager::save(v3); ftime(&v5); v4 = (double)(v5.millitm + 1000 * (v5.time & 0xFFFFF)) / 1000.0; a1->m_saveTime = v4; } PlatformToolbox::gameDidSave(); }