//
// EditorUI::getSelectedObjects from 0x6f43e6 to 0x6f443e (88 bytes)
//
// 14 xrefs:
// > LevelEditorLayer::handleAction @ 0x46f0fa
// > EditorUI::createUndoSelectObject @ 0x4822aa
// > EditorUI::editHSV @ 0x484182
// > EditorUI::handleEditorAction @ 0x6f1f7a
// > EditorUI::handleEditorAction @ 0x6f1f92
// > EditorUI::handleEditorAction @ 0x6f1faa
// > EditorUI::handleEditorAction @ 0x6f1fc2
// > EditorUI::handleEditorAction @ 0x6f2044
// > EditorUI::handleEditorAction @ 0x6f20b4
// > EditorCommandsPopup::onCommand @ 0x77a782
// > EditorCommandsPopup::onCommand @ 0x77a794
// > EditorCommandsPopup::onCommand @ 0x77a7ac
// > EditorCommandsPopup::onCommand @ 0x77a7be
// > EditorCommandsPopup::onCommand @ 0x77a82a
//
// 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:57:38 +0000
//
cocos2d::CCArray *__fastcall EditorUI::getSelectedObjects(EditorUI *this, cocos2d::CCObject *a2)
{
cocos2d::CCArray *v3; // r0
unsigned int v4; // r4
cocos2d::CCArray *v5; // r6
cocos2d::CCObject *v6; // r1
v3 = *((cocos2d::CCArray **)this + 249);
if ( v3 && *((_DWORD *)v3 + 223) != 749 )
return (cocos2d::CCArray *)cocos2d::CCArray::createWithObject(v3, a2);
v4 = 0;
v5 = (cocos2d::CCArray *)cocos2d::CCArray::create(v3);
while ( v4 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 167)) )
{
v6 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 167), v4);
if ( *((_DWORD *)v6 + 223) != 749 )
cocos2d::CCArray::addObject(v5, v6);
++v4;
}
return v5;
}