//
// getHoverValue from 0x3ebe88 to 0x3ebeec (100 bytes)
//
// 4 xrefs:
// > CheckpointGameObject::updateSyncedAnimation @ 0x3ebf6c
// > CheckpointGameObject::updateSyncedAnimation @ 0x3ebfd6
// > CheckpointGameObject::updateSyncedAnimation @ 0x3ec012
// > CheckpointGameObject::updateSyncedAnimation @ 0x3ec050
//
// 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
//
float __fastcall getHoverValue(float a1, float a2, float a3, float a4)
{
float v7; // s15
v7 = a1 - (float)(floorf(a1 / a2) * a2);
if ( v7 > (float)(a2 * 0.5) )
v7 = a2 - v7;
return GameToolbox::getEasedValue(v7 / (float)(a2 * 0.5), 1, a4) * a3;
}