//
// EditorUI::createUndoSelectObject from 0x4822a4 to 0x4822c8 (36 bytes)
//
// 7 xrefs:
// > EditorUI::onCreate @ 0x48787c
// > EditorUI::clickOnPosition @ 0x48c7f8
// > EditorUI::ccTouchEnded @ 0x6f0cd6
// > EditorUI::ccTouchEnded @ 0x6f0d92
// > EditorUI::processSelectObjects @ 0x6f4960
// > EditorUI::processSelectObject @ 0x6f4b9a
// > EditorUI::onDeselectAll @ 0x6f4bce
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:23 +0000
//
int __fastcall EditorUI::createUndoSelectObject(cocos2d::CCArray ***this, bool a2)
{
cocos2d::CCArray *SelectedObjects; // r0
UndoObject *v5; // r0
SelectedObjects = (cocos2d::CCArray *)EditorUI::getSelectedObjects((EditorUI *)this);
v5 = UndoObject::createWithArray(SelectedObjects, 6);
*((_BYTE *)v5 + 64) = a2;
return LevelEditorLayer::addToUndoList(*(this + 236), v5, 0);
}