//
// PlayLayer::updateAttemptTime from 0x100088dc0 to 0x100088e23 (99 bytes)
//
// 1 xrefs:
// > ??> @ 0x100abaf98
//
// This function is hookable on this platform (idp: pc, 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 12:20:05 +0000
//
__int64 __fastcall PlayLayer::updateAttemptTime(__int64 a1, float a2)
{
__int64 result; // rax
timeb v3; // [rsp-20h] [rbp-20h] BYREF
*(double *)(a1 + 14704) = a2 + *(double *)(a1 + 14704);
if ( *(double *)(a1 + 14728) <= 0.0 )
{
ftime(&v3);
result = v3.millitm;
*(double *)(a1 + 14728) = (double)v3.millitm / 1000.0 + (double)SLODWORD(v3.time);
}
return result;
}