//
// EditorUI::deselectObjectsColor from 0xbdadd0 to 0xbdae44 (116 bytes)
//
// 3 xrefs:
// > ??> @ 0x54328
// > EditorUI::checkLiveColorSelect @ 0xbdca58
// > ??> @ 0x1541d78
//
// 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:43 +0000
//
__int64 __fastcall EditorUI::deselectObjectsColor(GameObject **this)
{
__int64 result; // x0
unsigned int v3; // w19
GameObject *v4; // x0
bool v5; // cf
unsigned int v6; // w1
if ( *(this + 187) )
return GameObject::deselectObject(*(this + 187));
v3 = 0;
result = cocos2d::CCArray::count(*(this + 112));
if ( (_DWORD)result )
{
while ( 1 )
{
result = cocos2d::CCArray::count(*(this + 112));
v5 = v3 >= (unsigned int)result;
v6 = v3++;
if ( v5 )
break;
v4 = (GameObject *)cocos2d::CCArray::objectAtIndex(*(this + 112), v6);
GameObject::deselectObject(v4);
}
}
return result;
}