//
// PlayLayer::updateTimeWarp from 0x1403ab9a0 to 0x1403ab9fe (94 bytes)
//
// 1 xrefs:
// > ??> @ 0x1405c9c80
//
// 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 PlayLayer::updateTimeWarp(PlayLayer *a1, float a2)
{
float v3; // xmm1_4
if ( a1->m_levelEndAnimationStarted )
a2 = 1.0;
v3 = 0.1;
if ( fminf(a2, 2.0) >= 0.1 )
v3 = fminf(2.0, a2);
a1->m_gameState.m_queuedTimeWarp = 0.0;
a1->m_gameState.m_timeWarp = v3;
if ( v3 == 1.0 )
((void (__fastcall *)(PlayLayer *))a1->applyTimeWarp)(a1);
}