//
// EditorUI::deactivateScaleControl from 0xc01f20 to 0xc01fb8 (152 bytes)
//
// 9 xrefs:
// > EditorUI::deleteObject @ 0x7c1c30
// > EditorUI::init @ 0x7ceef4
// > EditorUI::updateSpecialUIElements @ 0x7d17a0
// > EditorUI::deselectAll @ 0xbdc68c
// > EditorUI::selectAll @ 0xbdd2d4
// > EditorUI::selectAllWithDirection @ 0xbdd414
// > EditorUI::activateScaleControl @ 0xc02800
// > EditorUI::activateTransformControl @ 0xc029d4
// > ??> @ 0x56e18
//
// 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 13:03:49 +0000
//
__int64 __fastcall EditorUI::deactivateScaleControl(EditorUI *this)
{
__int64 result; // x0
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**((_QWORD **)this + 98) + 352LL))(*((_QWORD *)this + 98)) )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 98) + 344LL))(*((_QWORD *)this + 98), 0);
GJScaleControl::finishTouch(*((GJScaleControl **)this + 98));
GJScaleControl::releaseInputFocus(*((GJScaleControl **)this + 98));
*(float *)(*((_QWORD *)this + 98) + 584LL) = 2.0;
*(float *)(*((_QWORD *)this + 98) + 588LL) = 0.5;
}
EditorUI::updateEditButtonColor(
(__int64)this,
(const char *)*(unsigned int *)(*((_QWORD *)this + 98) + 592LL),
0xFFFFFF);
result = *((_QWORD *)this + 98);
*(_DWORD *)(result + 592) = 0;
return result;
}