//
// calculateK from 0x9f2c04 to 0x9f2c50 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0xc85f8
//
// 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 calculateK(float a1, float a2, float a3, float a4, float a5)
{
float v6; // s8
v6 = smoothstep(a1, a2, a5);
return v6 - smoothstep(a3, a4, a5);
}