//
// sub_94828 from 0x94828 to 0x94830 (8 bytes)
//
// 7 xrefs:
// > sub_91F10 @ 0x92074
// > sub_91F10 @ 0x92098
// > sub_91F10 @ 0x920bc
// > sub_91F10 @ 0x920e0
// > sub_91F10 @ 0x92178
// > sub_91F10 @ 0x9219c
// > sub_91F10 @ 0x921c0
//
// 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:14:23 +0000
//
float __fastcall sub_94828(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
__int64 a7,
__int64 a8,
__int64 a9,
__int64 a10)
{
float result; // s0
float v11; // s0
result = 0.0;
if ( HIDWORD(a10) != 0x80000000 )
{
v11 = fmaxf((float)((float)SHIDWORD(a10) * 0.00000010851) + 85.333, 0.0);
if ( v11 >= 128.0 )
v11 = 127.0;
return flt_4CFEC[v11];
}
return result;
}