//
// PlayLayer::updateAttemptTime from 0x10011f8b0 to 0x10011f920 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x10078fd18
//
// 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)
{
__int64 v2; // x29
__int64 v3; // x30
timeb v5; // [xsp+0h] [xbp-30h] BYREF
__int64 v6; // [xsp+20h] [xbp-10h]
__int64 v7; // [xsp+28h] [xbp-8h]
a1->m_attemptTime = a1->m_attemptTime + a2;
if ( a1->m_currentTime <= 0.0 )
{
v6 = v2;
v7 = v3;
ftime(&v5);
a1->m_currentTime = (double)(v5.millitm + 1000 * (unsigned __int64)(v5.time & 0xFFFFF)) / 1000.0;
}
}