//
// GJBaseGameLayer::updateTimeWarp from 0x14033ef60 to 0x14033ef9f (63 bytes)
//
// 2 xrefs:
// > ??> @ 0x14076b878
// > ??> @ 0x14078b2f0
//
// 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:30:38 +0000
//
__int64 __fastcall GJBaseGameLayer::updateTimeWarp(__int64 a1, float a2)
{
float v2; // xmm0_4
__int64 result; // rax
*(_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;
}