//
// GJRotationControl::setAngle from 0x100640f20 to 0x100640fad (141 bytes)
//
// 1 xrefs:
// > EditorUI::activateRotationControl @ 0x10060ebcc
//
// This function is hookable on this platform (idp: pc, 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 12:34:43 +0000
//
__int64 __fastcall GJRotationControl::setAngle(__int64 a1, __m128 a2)
{
__int64 v2; // rax
float v5[8]; // [rsp+0h] [rbp-20h] BYREF
*(_QWORD *)v5 = v2;
*(_DWORD *)(a1 + 432) = a2.i32[0];
*(_DWORD *)(a1 + 436) = a2.i32[0];
*(__float2 *)a2.f32 = __sincosf_stret(a2.f32[0] * -0.017453292);
sub_100278250(v5, _mm_movehdup_ps(a2).f32[0] * 60.0, 60.0 * a2.f32[0]);
sub_100278300((_QWORD *)(a1 + 412), v5);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 424) + 184LL))(*(_QWORD *)(a1 + 424), a1 + 412);
return sub_100640FB0(a1, *(float *)(a1 + 436));
}