//
// sub_100643A20 from 0x100643a20 to 0x100643a82 (98 bytes)
//
// 2 xrefs:
// > EditorUI::keyDown @ 0x10060b62d
// > EditorUI::handleAction @ 0x10060b73b
//
// 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:44 +0000
//
char __fastcall sub_100643A20(_QWORD *a1)
{
__int64 v1; // rcx
__int64 v2; // rax
__int64 v3; // rcx
__int64 v4; // rcx
v1 = a1[61];
if ( !v1 || (v2 = 64, !*(_BYTE *)(v1 + 460)) )
{
v3 = a1[62];
if ( !v3 || (v2 = 65, !*(_BYTE *)(v3 + 460)) )
{
v4 = a1[63];
if ( !v4 )
return 0;
v2 = 66;
if ( *(_BYTE *)(v4 + 460) != 1 )
return 0;
}
}
sub_100643710((__int64)a1, a1[v2]);
return 1;
}