//
// getHoverValue from 0x766c40 to 0x766c8c (76 bytes)
//
// 5 xrefs:
// > CheckpointGameObject::updateSyncedAnimation @ 0x766d4c
// > CheckpointGameObject::updateSyncedAnimation @ 0x766dac
// > CheckpointGameObject::updateSyncedAnimation @ 0x766e0c
// > CheckpointGameObject::updateSyncedAnimation @ 0x766f98
// > ??> @ 0x8ac18
//
// 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 v4; // s0
v4 = a1 - (float)(a2 * floorf(a1 / a2));
if ( v4 > (float)(a2 * 0.5) )
v4 = a2 - v4;
return GameToolbox::getEasedValue(v4 / (float)(a2 * 0.5), (int)&dword_0 + 1, a4) * a3;
}