//
// sub_100250530 from 0x100250530 to 0x1002505a0 (112 bytes)
//
// 1 xrefs:
// > DailyLevelPage::updateTimers @ 0x10024fadc
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:01:31 +0000
//
__int64 __fastcall sub_100250530(__int64 a1)
{
unsigned __int64 v2; // d1
double v3; // d8
unsigned int *v4; // x0
int v5; // w0
timeb v7; // [xsp+0h] [xbp-30h] BYREF
ftime(&v7);
LOWORD(v2) = v7.millitm;
v3 = (double)v2 / 1000.0 + (double)v7.time;
v4 = (unsigned int *)GameLevelManager::sharedState();
v5 = sub_1000CD798(v4, *(_DWORD *)(a1 + 732));
return (int)((double)v5 - v3) & (unsigned int)~((int)((double)v5 - v3) >> 31);
}