//
// EditorUI::canAllowMultiActivate from 0x100018b40 to 0x100018bb1 (113 bytes)
//
// 2 xrefs:
// > EditorUI::editButton2Usable @ 0x1000189f0
// > EditorUI::editObjectSpecial @ 0x100019327
//
// 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:18:55 +0000
//
__int64 __fastcall EditorUI::canAllowMultiActivate(__int64 a1, __int64 a2, __int64 a3)
{
unsigned int v3; // r15d
unsigned int v6; // r14d
__int64 v7; // rax
if ( a2 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1632LL))(a2);
if ( (unsigned int)sub_1007FEF90(a3) )
{
v6 = 0;
do
{
v7 = sub_1007FEFE0(a3, v6);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1632LL))(v7);
if ( !(_BYTE)v3 )
break;
++v6;
}
while ( v6 < (unsigned int)sub_1007FEF90(a3) );
}
else
{
LOBYTE(v3) = 1;
}
return v3;
}