//
// GJScaleControl::releaseInputFocus from 0x1401a4cc0 to 0x1401a4d1a (90 bytes)
//
// 4 xrefs:
// > GJScaleControl::ccTouchBegan @ 0x1401a3d89
// > EditorUI::keyDown @ 0x1401c1b0e
// > EditorUI::deactivateScaleControl @ 0x140202e12
// > ??> @ 0x140919ad8
//
// This function is hookable on this platform (idp: pc, 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 11:27:49 +0000
//
__int64 __fastcall GJScaleControl::releaseInputFocus(_QWORD *a1)
{
__int64 v2; // rcx
__int64 result; // rax
__int64 v4; // rcx
__int64 v5; // rcx
v2 = a1[61];
if ( v2 )
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 1032LL))(v2, 0);
v4 = a1[62];
if ( v4 )
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1032LL))(v4, 0);
v5 = a1[63];
if ( v5 )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 1032LL))(v5, 0);
return result;
}