//
// getHoverValue from 0x87f054 to 0x87f0a0 (76 bytes)
//
// 5 xrefs:
// > CheckpointGameObject::updateSyncedAnimation @ 0x87f160
// > CheckpointGameObject::updateSyncedAnimation @ 0x87f1c0
// > CheckpointGameObject::updateSyncedAnimation @ 0x87f220
// > CheckpointGameObject::updateSyncedAnimation @ 0x87f3ac
// > ??> @ 0xb7ef8
//
// This function is hookable on this platform (idp: arm, 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 12:55:54 +0000
//
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((GameToolbox *)((char *)&dword_0 + 1), v4 / (float)(a2 * 0.5), a4) * a3;
}