//
// EditorUI::deactivateRotationControl from 0x10015fb50 to 0x10015fbb4 (100 bytes)
//
// 9 xrefs:
// > EditorUI::activateTransformControl @ 0x10015f920
// > EditorUI::deselectAll @ 0x1001a5cd4
// > EditorUI::selectAll @ 0x1001a6458
// > EditorUI::selectAllWithDirection @ 0x1001a658c
// > EditorUI::init @ 0x10046e6f8
// > EditorUI::toggleEnableRotate @ 0x100470f28
// > EditorUI::toggleSpecialEditButtons @ 0x100473f00
// > EditorUI::updateSpecialUIElements @ 0x100474858
// > EditorUI::deleteObject @ 0x1004764f8
//
// 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:45 +0000
//
__int64 __fastcall EditorUI::deactivateRotationControl(__int64 a1)
{
__int64 result; // x0
*(_DWORD *)(a1 + 696) = -1;
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 760) + 352LL))(*(_QWORD *)(a1 + 760));
if ( (_DWORD)result )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 760) + 344LL))(*(_QWORD *)(a1 + 760), 0);
GJRotationControl::finishTouch(*(_QWORD *)(a1 + 760));
return sub_1001576D8(*(_QWORD *)(a1 + 760));
}
return result;
}