//
// EditorUI::deactivateTransformControl from 0x70eb30 to 0x70eb76 (70 bytes)
//
// 11 xrefs:
// > LevelEditorLayer::handleAction @ 0x46f3f0
// > EditorUI::deleteObject @ 0x481d44
// > EditorUI::init @ 0x48a4e8
// > EditorUI::updateSpecialUIElements @ 0x48c48a
// > EditorUI::deselectAll @ 0x6f4224
// > EditorUI::selectAll @ 0x6f4a30
// > EditorUI::selectAllWithDirection @ 0x6f4b1e
// > EditorUI::activateRotationControl @ 0x70ebb8
// > EditorUI::activateScaleControl @ 0x70ee74
// > EditorUI::activateTransformControl @ 0x70efec
// > EditorUI::updateControlsAfterAlign @ 0x70f01a
//
// 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:43 +0000
//
void __fastcall EditorUI::deactivateTransformControl(EditorUI *this)
{
if ( (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 149) + 176))(*((_DWORD *)this + 149)) )
{
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 149) + 172))(*((_DWORD *)this + 149), 0);
GJTransformControl::finishTouch(*((GJTransformControl **)this + 149));
}
EditorUI::updateEditButtonColor((int)this, (_BYTE *)&word_2E + 1, 0xFFFFFF);
}