//
// EditorUI::deactivateScaleControl from 0x70e8e0 to 0x70e954 (116 bytes)
//
// 8 xrefs:
// > EditorUI::deleteObject @ 0x481d3a
// > EditorUI::init @ 0x48a4b2
// > EditorUI::updateSpecialUIElements @ 0x48c484
// > EditorUI::deselectAll @ 0x6f421e
// > EditorUI::selectAll @ 0x6f4a26
// > EditorUI::selectAllWithDirection @ 0x6f4b18
// > EditorUI::activateScaleControl @ 0x70ee9a
// > EditorUI::activateTransformControl @ 0x70efd2
//
// 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
//
void __fastcall EditorUI::deactivateScaleControl(EditorUI *this)
{
if ( (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 148) + 176))(*((_DWORD *)this + 148)) )
{
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 148) + 172))(*((_DWORD *)this + 148), 0);
GJScaleControl::finishTouch(*((GJScaleControl **)this + 148));
GJScaleControl::releaseInputFocus(*((GJScaleControl **)this + 148));
*(_DWORD *)(*((_DWORD *)this + 148) + 416) = 0x40000000;
*(_DWORD *)(*((_DWORD *)this + 148) + 420) = 1056964608;
}
EditorUI::updateEditButtonColor((int)this, *(const char **)(*((_DWORD *)this + 148) + 424), 0xFFFFFF);
*(_DWORD *)(*((_DWORD *)this + 148) + 424) = 0;
}