//
// DailyLevelPage::getDailyTime from 0x606fb0 to 0x607020 (112 bytes)
//
// 1 xrefs:
// > DailyLevelPage::updateTimers @ 0x608e72
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:45 +0000
//
int __fastcall DailyLevelPage::getDailyTime(DailyLevelPage *this)
{
GameLevelManager *v2; // r0
double v3; // d8
_DWORD *v4; // r0
int DailyTimer; // r0
int v7; // [sp+4h] [bp-10h] BYREF
int v8; // [sp+8h] [bp-Ch]
v2 = (GameLevelManager *)clock_gettime(0, (struct timespec *)&v7);
v3 = (double)v7 + (double)v8 / 1000000000.0;
v4 = (_DWORD *)GameLevelManager::sharedState(v2);
DailyTimer = GameLevelManager::getDailyTimer(v4, *((_DWORD *)this + 139));
return (int)((double)DailyTimer - v3) & ~((int)((double)DailyTimer - v3) >> 31);
}