//
// sub_1005B5304 from 0x1005b5304 to 0x1005b5398 (148 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:12 +0000
//
__int64 __fastcall sub_1005B5304(__int64 a1, float a2, float a3)
{
float v5; // s4
float v6; // s0
__float2 v8; // 0:kr00_8.8
v8 = __sincosf_stret((float)(a3 * 6.2832) / (float)*(int *)(*(_QWORD *)(a1 + 168) + 1744LL));
v5 = (float)(v8.__cosval + 1.0) * 0.5;
*(float *)(a1 + 1072) = v5;
*(float *)(a1 + 1076) = -(float)(v8.__cosval + 1.0);
*(float *)(a1 + 1080) = v5;
v6 = v8.__sinval / (float)(a2 + a2);
*(float *)(a1 + 1060) = v6 + 1.0;
*(float *)(a1 + 1064) = v8.__cosval * -2.0;
*(float *)(a1 + 1068) = 1.0 - v6;
return 0;
}