//
// EditorUI::processSelectObjects from 0x1001a6300 to 0x1001a63c8 (200 bytes)
//
// 4 xrefs:
// > EditorUI::selectObjectsInRect @ 0x1001a62ec
// > EditorUI::selectAll @ 0x1001a6450
// > EditorUI::selectAllWithDirection @ 0x1001a6584
// > EditorUI::findObject @ 0x1001a6a98
//
// This function is hookable on this platform (idp: arm, 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:00:03 +0000
//
__int64 __fastcall EditorUI::processSelectObjects(__int64 a1, __int64 a2)
{
__int64 result; // x0
__int64 v5; // x21
__int64 v6; // x0
__int64 v7; // x8
__n128 v8; // q0
result = sub_1002E757C(a2);
if ( (_DWORD)result )
{
if ( (unsigned int)sub_1002E757C(a2) )
{
v5 = 0;
while ( 1 )
{
v6 = sub_1002E75A0(a2, v5);
v7 = *(_QWORD *)(a1 + 1496);
if ( v7 )
{
if ( *(_DWORD *)(v7 + 916) != *(_DWORD *)(v6 + 916) )
break;
}
if ( (sub_1002E7638(*(_QWORD *)(a1 + 896)) & 1) == 0 )
break;
v5 = (unsigned int)(v5 + 1);
if ( (unsigned int)v5 >= (unsigned int)sub_1002E757C(a2) )
goto LABEL_11;
}
EditorUI::createUndoSelectObject(a1, 0);
}
LABEL_11:
EditorUI::selectObjects(a1, a2, 0);
EditorUI::updateButtons(a1);
return EditorUI::updateSpecialUIElements(a1, v8);
}
return result;
}