//
// EditorUI::processSelectObjects from 0xbdd0e0 to 0xbdd198 (184 bytes)
//
// 5 xrefs:
// > EditorUI::selectObjectsInRect @ 0xbdd1fc
// > EditorUI::selectAll @ 0xbdd2c4
// > EditorUI::selectAllWithDirection @ 0xbdd404
// > EditorUI::findObject @ 0xbdd884
// > ??> @ 0x6e578
//
// 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 13:03:44 +0000
//
__int64 __fastcall EditorUI::processSelectObjects(EditorUI *this, cocos2d::CCArray *a2)
{
unsigned int v3; // w19
__int64 result; // x0
cocos2d::CCObject *v6; // x1
__int64 v7; // x0
v3 = 0;
result = cocos2d::CCArray::count(a2);
if ( (_DWORD)result )
{
while ( v3 < (unsigned int)cocos2d::CCArray::count(a2) )
{
v6 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(a2, v3);
v7 = *((_QWORD *)this + 187);
if ( !v7 || *(_DWORD *)(v7 + 916) == *((_DWORD *)v6 + 229) )
{
++v3;
if ( (unsigned __int8)cocos2d::CCArray::containsObject(*((cocos2d::CCArray **)this + 112), v6) )
continue;
}
EditorUI::createUndoSelectObject((cocos2d::CCArray ***)this, 0);
break;
}
EditorUI::selectObjects((__int64)this, a2, 0);
return EditorUI::updateSelectionUI(this);
}
return result;
}