//
// EditorUI::deselectObjectsColor from 0x6f3c9e to 0x6f3cde (64 bytes)
//
// 0 xrefs:
//
// 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:37 +0000
//
unsigned int __fastcall EditorUI::deselectObjectsColor(EditorUI *this, int a2)
{
unsigned int v3; // r4
unsigned int result; // r0
GameObject *v5; // r0
int v6; // r1
v3 = *((_DWORD *)this + 249);
if ( v3 )
return GameObject::deselectObject(*((GameObject **)this + 249), a2);
result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 167));
if ( result )
{
while ( 1 )
{
result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 167));
if ( v3 >= result )
break;
v5 = (GameObject *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 167), v3++);
GameObject::deselectObject(v5, v6);
}
}
return result;
}