//
// GJBaseGameLayer::updateTimeWarp from 0x140236150 to 0x14023619e (78 bytes)
//
// 2 xrefs:
// > ??> @ 0x140567098
// > ??> @ 0x1405863f0
//
// 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 GJBaseGameLayer::updateTimeWarp(GJBaseGameLayer *a1, float a2)
{
float v2; // xmm0_4
float v4; // xmm1_4
v2 = fminf(a2, 2.0);
v4 = 0.1;
if ( v2 >= 0.1 )
v4 = fminf(2.0, a2);
a1->m_gameState.m_queuedTimeWarp = 0.0;
a1->m_gameState.m_timeWarp = v4;
if ( v4 == 1.0 )
((void (__fastcall *)(GJBaseGameLayer *))a1->applyTimeWarp)(a1);
}