//
// EditorUI::processSelectObjects from 0x6f4918 to 0x6f497a (98 bytes)
//
// 4 xrefs:
// > EditorUI::selectObjectsInRect @ 0x6f49b8
// > EditorUI::selectAll @ 0x6f4a1a
// > EditorUI::selectAllWithDirection @ 0x6f4b0c
// > EditorUI::findObject @ 0x6f4d48
//
// 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
//
int __fastcall EditorUI::processSelectObjects(EditorUI *this, cocos2d::CCArray *a2)
{
int result; // r0
unsigned int i; // r6
cocos2d::CCObject *v6; // r0
int v7; // r3
result = cocos2d::CCArray::count(a2);
if ( result )
{
for ( i = 0; i < cocos2d::CCArray::count(a2); ++i )
{
v6 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(a2, i);
v7 = *((_DWORD *)this + 249);
if ( v7 && *(_DWORD *)(v7 + 780) != *((_DWORD *)v6 + 195)
|| !cocos2d::CCArray::containsObject(*((cocos2d::CCArray **)this + 167), v6) )
{
EditorUI::createUndoSelectObject((cocos2d::CCArray ***)this, 0);
break;
}
}
EditorUI::selectObjects(this, a2, 0);
return EditorUI::updateSelectionUI((cocos2d::CCArray **)this);
}
return result;
}