// // GameLevelManager::storeDailyLevelState from 0x1000ab8a4 to 0x1000ab9b4 (272 bytes) // // 1 xrefs: // > GameLevelManager::onGetGJDailyLevelStateCompleted @ 0x1000901c4 // // 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 GameLevelManager::storeDailyLevelState(GameLevelManager *a1, int a2, int a3, GJTimedLevelType a4) { timeb v7; // [xsp+0h] [xbp-30h] BYREF switch ( a4 ) { case 2: ftime(&v7); a1->m_eventTimeLeft = (int)((double)(v7.millitm + 1000 * (unsigned __int64)(v7.time & 0xFFFFF)) / 1000.0 + (double)a3); a1->m_eventID = a2; break; case 1: ftime(&v7); a1->m_weeklyTimeLeft = (int)((double)(v7.millitm + 1000 * (unsigned __int64)(v7.time & 0xFFFFF)) / 1000.0 + (double)a3); a1->m_weeklyID = a2; break; case 0: ftime(&v7); a1->m_dailyTimeLeft = (int)((double)(v7.millitm + 1000 * (unsigned __int64)(v7.time & 0xFFFFF)) / 1000.0 + (double)a3); a1->m_dailyID = a2; break; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source