//
// EditorUI::selectAll from 0x1001a63c8 to 0x1001a647c (180 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x100162f80
// > EditorCommandsPopup::onCommand @ 0x1004c5b48
//
// 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::selectAll(__int64 a1)
{
__int64 AllObjects; // x20
__int64 v3; // x21
__int64 v4; // x22
__int64 v5; // x23
AllObjects = LevelEditorLayer::getAllObjects(*(_QWORD *)(a1 + 1440));
v3 = sub_1002E736C(AllObjects);
if ( (unsigned int)sub_1002E757C(AllObjects) )
{
v4 = 0;
do
{
v5 = sub_1002E75A0(AllObjects, v4);
if ( (unsigned int)LevelEditorLayer::validGroup(*(_QWORD *)(a1 + 1440), v5, 0) )
sub_1002E74E0(v3, v5);
v4 = (unsigned int)(v4 + 1);
}
while ( (unsigned int)v4 < (unsigned int)sub_1002E757C(AllObjects) );
}
EditorUI::processSelectObjects(a1, v3);
EditorUI::deactivateRotationControl(a1);
EditorUI::deactivateScaleControl(a1);
return EditorUI::deactivateTransformControl(a1);
}