//
// EditorUI::processSelectObjects from 0x1005b90a0 to 0x1005b9156 (182 bytes)
//
// 4 xrefs:
// > EditorUI::selectObjectsInRect @ 0x1005b9087
// > EditorUI::selectAll @ 0x1005b91e6
// > EditorUI::selectAllWithDirection @ 0x1005b938d
// > EditorUI::findObject @ 0x1005b9b0c
//
// 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:32:43 +0000
//
__int64 __fastcall EditorUI::processSelectObjects(_QWORD *a1, __int64 a2, double a3)
{
__int64 result; // rax
unsigned int v4; // r15d
__int64 v5; // rax
__int64 v6; // rcx
result = sub_1007FEF90(a2);
if ( (_DWORD)result )
{
if ( (unsigned int)sub_1007FEF90(a2) )
{
v4 = 0;
while ( 1 )
{
v5 = sub_1007FEFE0(a2, v4);
v6 = a1[187];
if ( v6 )
{
if ( *(_DWORD *)(v6 + 916) != *(_DWORD *)(v5 + 916) )
break;
}
if ( !(unsigned __int8)sub_1007FF080(a1[112], v5) )
break;
if ( ++v4 >= (unsigned int)sub_1007FEF90(a2) )
goto LABEL_11;
}
EditorUI::createUndoSelectObject((__int64)a1, 0);
}
LABEL_11:
EditorUI::selectObjects((__int64)a1, a2, 0, a3);
EditorUI::updateButtons((__int64)a1);
return EditorUI::updateSpecialUIElements(a1);
}
return result;
}