//
// EditorUI::createUndoSelectObject from 0x100474774 to 0x1004747b0 (60 bytes)
//
// 7 xrefs:
// > EditorUI::ccTouchEnded @ 0x100161ebc
// > EditorUI::ccTouchEnded @ 0x100161f88
// > EditorUI::processSelectObjects @ 0x1001a6398
// > sub_1001A6B38 @ 0x1001a6b70
// > EditorUI::onDeselectAll @ 0x1001a6d70
// > EditorUI::clickOnPosition @ 0x1004740dc
// > EditorUI::onCreate @ 0x100474598
//
// 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:05:40 +0000
//
__int64 __fastcall EditorUI::createUndoSelectObject(__int64 a1, char a2, __n128 a3)
{
__int64 SelectedObjects; // x0
_BYTE *v6; // x1
SelectedObjects = EditorUI::getSelectedObjects(a1, a3);
v6 = UndoObject::createWithArray(SelectedObjects, 6);
v6[80] = a2;
return LevelEditorLayer::addToUndoList(*(_QWORD *)(a1 + 1440), (__int64)v6, 0);
}