//
// EditorUI::deactivateRotationControl from 0x100611ba0 to 0x100611bfe (94 bytes)
//
// 21 xrefs:
// > EditorUI::init @ 0x100005550
// > EditorUI::toggleEnableRotate @ 0x1000080ea
// > EditorUI::undoLastAction @ 0x100008191
// > EditorUI::redoLastAction @ 0x100008231
// > EditorUI::onDeleteSelected @ 0x100008381
// > EditorUI::onDeleteSelected @ 0x100008458
// > EditorUI::onDeleteSelected @ 0x1000084bf
// > EditorUI::toggleSpecialEditButtons @ 0x10000c5b7
// > EditorUI::clickOnPosition @ 0x10000c8c6
// > EditorUI::onDelete @ 0x10000cd18
// > EditorUI::onDelete @ 0x10000cda3
// > EditorUI::updateSpecialUIElements @ 0x10000d566
// > sub_10000FEF0 @ 0x10000ff2e
// > EditorUI::addObjectsToSmartTemplate @ 0x100013885
// > EditorUI::createSmartObjectsFromTemplate @ 0x100014580
// > EditorUI::deleteSmartBlocksFromObjects @ 0x100014719
// > EditorUI::deleteTypeFromObjects @ 0x100014db7
// > EditorUI::createSmartObjectsFromType @ 0x100015290
// > EditorUI::deselectAll @ 0x1005b89b2
// > EditorUI::selectAll @ 0x1005b91ee
// > EditorUI::selectAllWithDirection @ 0x1005b9395
//
// 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:35 +0000
//
__int64 __fastcall EditorUI::deactivateRotationControl(__int64 a1)
{
__int64 result; // rax
*(_DWORD *)(a1 + 696) = -1;
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 760) + 352LL))(*(_QWORD *)(a1 + 760));
if ( (_BYTE)result )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 760) + 344LL))(*(_QWORD *)(a1 + 760), 0);
GJRotationControl::finishTouch(*(_QWORD *)(a1 + 760));
return GJRotationControl::releaseInputFocus(*(_QWORD *)(a1 + 760));
}
return result;
}