//
// PlayLayer::updateAttemptTime from 0x1000bb0c0 to 0x1000bb12e (110 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b72e0
//
// 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
//
void __fastcall PlayLayer::updateAttemptTime(PlayLayer *a1, float a2)
{
timeb v2; // [rsp-20h] [rbp-20h] BYREF
a1->m_attemptTime = a2 + a1->m_attemptTime;
if ( a1->m_currentTime <= 0.0 )
{
ftime(&v2);
a1->m_currentTime = (double)(v2.millitm + 1000 * (v2.time & 0xFFFFF)) / 1000.0;
}
}