//
// GJBaseGameLayer::updateTimeWarp from 0x10014f380 to 0x10014f3cc (76 bytes)
//
// 4 xrefs:
// > PlayLayer::updateTimeWarp @ 0x1000b5e37
// > PlayLayer::updateTimeWarp @ 0x1000b5e4a
// > ??> @ 0x1008c0720
// > ??> @ 0x1008c1950
//
// 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 GJBaseGameLayer::updateTimeWarp(GJBaseGameLayer *a1, float a2)
{
float v2; // xmm1_4
v2 = fmaxf(fminf(2.0, a2), 0.1);
a1->m_gameState.m_timeWarp = v2;
a1->m_gameState.m_queuedTimeWarp = 0.0;
if ( v2 == 1.0 )
((void (__fastcall *)(GJBaseGameLayer *, float))a1->applyTimeWarp)(a1, 1.0);
}