//
// EditorUI::selectAll from 0x1005b9160 to 0x1005b9211 (177 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x10060c447
// > EditorCommandsPopup::onCommand @ 0x1008dee1b
//
// 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::selectAll(_QWORD *a1, double a2)
{
__int64 v3; // rdi
__int64 AllObjects; // r14
__int64 v5; // r15
unsigned int v6; // r12d
__int64 v7; // r13
v3 = a1[180];
AllObjects = LevelEditorLayer::getAllObjects(v3);
v5 = sub_1007FE900(v3);
if ( (unsigned int)sub_1007FEF90(AllObjects) )
{
v6 = 0;
do
{
v7 = sub_1007FEFE0(AllObjects, v6);
if ( LevelEditorLayer::validGroup(a1[180], v7, 0) )
sub_1007FEBF0(v5, v7);
++v6;
}
while ( v6 < (unsigned int)sub_1007FEF90(AllObjects) );
}
EditorUI::processSelectObjects(a1, v5, a2);
EditorUI::deactivateRotationControl(a1);
EditorUI::deactivateScaleControl(a1);
return sub_100611790(a1);
}