//
// sub_100643040 from 0x100643040 to 0x10064309e (94 bytes)
//
// 4 xrefs:
// > EditorUI::keyDown @ 0x10060b60d
// > EditorUI::activateTransformControl @ 0x100611862
// > EditorUI::activateScaleControl @ 0x100612caf
// > EditorUI::deactivateScaleControl @ 0x100612ea2
//
// 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 12:34:43 +0000
//
__int64 __fastcall sub_100643040(_QWORD *a1)
{
__int64 v2; // rdi
__int64 result; // rax
__int64 v4; // rdi
__int64 v5; // rdi
v2 = a1[61];
if ( v2 )
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 1160LL))(v2, 0);
v4 = a1[62];
if ( v4 )
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1160LL))(v4, 0);
v5 = a1[63];
if ( v5 )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 1160LL))(v5, 0);
return result;
}