//
// GJScaleControl::releaseInputFocus from 0x6ebc60 to 0x6ebc9a (58 bytes)
//
// 3 xrefs:
// > GJScaleControl::ccTouchBegan @ 0x6ebd66
// > EditorUI::keyDown @ 0x6f127a
// > EditorUI::deactivateScaleControl @ 0x70e90c
//
// 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:32 +0000
//
int __fastcall GJScaleControl::releaseInputFocus(GJScaleControl *this)
{
int v2; // r0
int v3; // r0
int result; // r0
v2 = *((_DWORD *)this + 92);
if ( v2 )
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v2 + 580))(v2, 0);
v3 = *((_DWORD *)this + 93);
if ( v3 )
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v3 + 580))(v3, 0);
result = *((_DWORD *)this + 94);
if ( result )
return (*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)result + 580))(result, 0);
return result;
}