//
// GJBaseGameLayer::updateTimeWarp from 0x58b35c to 0x58b3bc (96 bytes)
//
// 1 xrefs:
// > PlayLayer::updateTimeWarp @ 0x3feec8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:02 +0000
//
int __fastcall GJBaseGameLayer::updateTimeWarp(int this, float a2)
{
float v2; // s15
v2 = a2;
if ( a2 > 2.0 )
{
v2 = 2.0;
}
else if ( a2 <= 0.1 )
{
v2 = 0.1;
}
else if ( a2 > 2.0 )
{
v2 = 2.0;
}
*(float *)(this + 720) = v2;
*(_DWORD *)(this + 724) = 0;
if ( v2 == 1.0 )
return (*(int (__fastcall **)(int, float))(*(_DWORD *)this + 736))(this, 1.0);
return this;
}