//
// sub_1005BF0AC from 0x1005bf0ac to 0x1005bf118 (108 bytes)
//
// 1 xrefs:
// > sub_1005BF030 @ 0x1005bf09c
//
// 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_1005BF0AC@(__int64 a1@, __int64 a2@, float a3@, float a4@)
{
__int64 v4; // x13
unsigned int v5; // w14
int v6; // w14
*(float *)(a2 - 12) = a4 * *(float *)(v4 + 4LL * v5);
v6 = vcvts_n_s32_f32(a3, 0xFu);
if ( v6 < 0 )
v6 = -v6;
return ((__int64 (__fastcall *)())((char *)sub_1005BF118
+ 4 * *(unsigned __int8 *)(a1 + ((unsigned __int16)(v6 & 0x7FFF) >> 13))))();
}