//
// sub_1001575C8 from 0x1001575c8 to 0x10015764c (132 bytes)
//
// 4 xrefs:
// > GJRotationControl::init @ 0x100157378
// > sub_100157424 @ 0x10015757c
// > EditorUI::activateRotationControl @ 0x10015d39c
// > LevelEditorLayer::handleAction @ 0x1003fc408
//
// 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 10:59:42 +0000
//
__int64 __fastcall sub_1001575C8(__int64 a1, float a2)
{
double v3; // d0
double v5; // [xsp+8h] [xbp-18h] BYREF
__float2 v6; // 0:kr00_8.8
*(float *)(a1 + 432) = a2;
*(float *)(a1 + 436) = a2;
v6 = __sincosf_stret(a2 * -0.017453);
sub_1000262BC((float *)&v5, v6.__cosval * 60.0, v6.__sinval * 60.0);
v3 = sub_10002630C((_QWORD *)(a1 + 412), &v5);
(*(void (__fastcall **)(_QWORD, __int64, double))(**(_QWORD **)(a1 + 424) + 184LL))(
*(_QWORD *)(a1 + 424),
a1 + 412,
v3);
return sub_10015764C(a1, *(float *)(a1 + 436));
}