//
// EditorUI::createUndoSelectObject from 0x10002e740 to 0x10002e776 (54 bytes)
//
// 2 xrefs:
// > EditorUI::ccTouchEnded @ 0x10004fe9e
// > EditorUI::ccTouchEnded @ 0x10004ff75
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall EditorUI::createUndoSelectObject(EditorUI *a1, bool a2)
{
cocos2d::CCArray *SelectedObjects; // rax
UndoObject *v3; // rax
SelectedObjects = EditorUI::getSelectedObjects(a1);
v3 = UndoObject::createWithArray(SelectedObjects, Select);
v3->m_redo = a2;
LevelEditorLayer::addToUndoList(a1->m_editorLayer, v3, 0);
}