//
// sub_1005BF2C8 from 0x1005bf2c8 to 0x1005bf33c (116 bytes)
//
// 1 xrefs:
// > sub_1005BF25C @ 0x1005bf2b8
//
// 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 11:09:20 +0000
//
__int64 __usercall sub_1005BF2C8@(__int64 a1@, float a2@, float a3@)
{
__int64 v3; // x13
unsigned int v4; // w14
float v5; // s10
float v6; // s2
int v7; // w14
v6 = a3 * *(float *)(v3 + 4LL * v4);
v7 = vcvts_n_s32_f32(a2 + v5, 0xFu);
*(float *)(a1 + 8) = v6;
if ( v7 < 0 )
v7 = -v7;
return ((__int64 (*)(void))((char *)&loc_1005BEE78 + 4 * word_100773594[(unsigned __int16)(v7 & 0x7FFF) >> 13]))();
}