//
// sub_73984 from 0x73984 to 0x739b0 (44 bytes)
//
// 6 xrefs:
// > sub_73A5C @ 0x73a80
// > sub_74B88 @ 0x74bf8
// > sub_75360 @ 0x753c8
// > sub_75568 @ 0x756f4
// > sub_75568 @ 0x75730
// > sub_75F7C @ 0x75f84
//
// 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 sub_73984(float result, float a2, float a3)
{
float v3; // s1
while ( result < a2 )
result = (float)(a3 - a2) + result;
v3 = a2 - a3;
while ( result >= a3 )
result = v3 + result;
return result;
}