//
// sub_1005B7D54 from 0x1005b7d54 to 0x1005b7dbc (104 bytes)
//
// 0 xrefs:
//
// 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:14 +0000
//
__int64 __fastcall sub_1005B7D54(float a1, float a2, __int64 a3, __int64 a4, float *a5, float *a6)
{
float v8; // s0
v8 = (float)(a2 + a2) * tanf((float)(a1 * 3.1416) / a2);
*a6 = *a6 / (float)(v8 * v8);
*a5 = *a5 / v8;
return 0;
}