//
// PlayLayer::updateTimeWarp from 0x14050a250 to 0x14050a29f (79 bytes)
//
// 1 xrefs:
// > ??> @ 0x1407d5ed8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:33:28 +0000
//
__int64 __fastcall PlayLayer::updateTimeWarp(__int64 a1, float a2)
{
float v2; // xmm0_4
__int64 result; // rax
if ( *(_BYTE *)(a1 + 13936) )
a2 = 1.0;
*(_DWORD *)(a1 + 820) = 0;
v2 = fmaxf(0.1, fminf(a2, 2.0));
*(float *)(a1 + 816) = v2;
if ( v2 == 1.0 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1320LL))(a1);
return result;
}