// // DailyLevelPage::getDailyTime from 0x913130 to 0x9131c0 (144 bytes) // // 2 xrefs: // > DailyLevelPage::updateTimers @ 0x915ab4 // > @ 0xbd018 // // 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 // int DailyLevelPage::getDailyTime(DailyLevelPage *a1) { double v2; // d8 GameLevelManager *v3; // x0 int result; // w0 GameLevelManager *v5; // [xsp+38h] [xbp+38h] BYREF __int64 v6; // [xsp+40h] [xbp+40h] clock_gettime(0, (struct timespec *)&v5); v2 = (double)(__int64)v5 + (double)v6 / 1000000000.0; v3 = GameLevelManager::sharedState(); result = (int)((double)GameLevelManager::getDailyTimer(v3, a1->m_type) - v2); if ( result < 0 ) return 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source