//
// sub_10062EC10 from 0x10062ec10 to 0x10062ec80 (112 bytes)
//
// 6 xrefs:
// > sub_100590528 @ 0x100590558
// > sub_100590724 @ 0x100590f14
// > sub_100590F64 @ 0x100591010
// > ??> @ 0x1009ab068
// > ??> @ 0x1009ab290
// > ??> @ 0x1009adb48
//
// 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:10:26 +0000
//
__int64 __fastcall sub_10062EC10(__int64 a1, float a2)
{
float v3; // s2
if ( (~LODWORD(a2) & 0x7F800000) == 0 )
return 29;
v3 = (float)(a2 + 1.0) * 0.5;
if ( a2 > 1.0 )
v3 = 1.0;
if ( a2 < -1.0 )
v3 = 0.0;
return (*(__int64 (__fastcall **)(__int64, float, float, float, float, float, float, float, float))(*(_QWORD *)a1 + 184LL))(
a1,
sqrtf(1.0 - v3),
sqrtf(v3),
0.0,
0.0,
0.0,
0.0,
0.0,
0.0);
}