//
// EditorUI::deactivateRotationControl from 0x70e678 to 0x70e6b6 (62 bytes)
//
// 9 xrefs:
// > EditorUI::deleteObject @ 0x481d34
// > EditorUI::toggleSpecialEditButtons @ 0x485fbe
// > EditorUI::toggleEnableRotate @ 0x4865f0
// > EditorUI::init @ 0x48a47c
// > EditorUI::updateSpecialUIElements @ 0x48c47e
// > EditorUI::deselectAll @ 0x6f4218
// > EditorUI::selectAll @ 0x6f4a20
// > EditorUI::selectAllWithDirection @ 0x6f4b12
// > EditorUI::activateTransformControl @ 0x70efd8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:42 +0000
//
int __fastcall EditorUI::deactivateRotationControl(EditorUI *this)
{
int result; // r0
*((_DWORD *)this + 129) = -1;
result = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 144) + 176))(*((_DWORD *)this + 144));
if ( result )
{
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 144) + 172))(*((_DWORD *)this + 144), 0);
GJRotationControl::finishTouch(*((GJRotationControl **)this + 144));
return GJRotationControl::releaseInputFocus(*((GJRotationControl **)this + 144));
}
return result;
}