//
// DailyLevelPage::getDailyTime from 0x1002320b0 to 0x100232120 (112 bytes)
//
// 0 xrefs:
//
// 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 __fastcall DailyLevelPage::getDailyTime(DailyLevelPage *a1)
{
GameLevelManager *v1; // rax
int DailyTimer; // eax
int v3; // ecx
int result; // eax
timeb v5; // [rsp+0h] [rbp-20h] BYREF
double v6; // [rsp+10h] [rbp-10h]
ftime(&v5);
v6 = (double)(v5.millitm + 1000 * (v5.time & 0xFFFFF)) / -1000.0;
v1 = GameLevelManager::sharedState();
DailyTimer = GameLevelManager::getDailyTimer(v1, a1->m_type);
v3 = (int)((double)DailyTimer + v6);
result = 0;
if ( v3 > 0 )
return v3;
return result;
}