//
// EditorUI::showLiveColorSelectForModeSpecial from 0x484104 to 0x484154 (80 bytes)
//
// 1 xrefs:
// > CustomizeObjectLayer::onLiveEdit @ 0x57e6c0
//
// 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:49:24 +0000
//
int __fastcall EditorUI::showLiveColorSelectForModeSpecial(EditorUI *this, int a2)
{
GameObject *v3; // r0
int v5; // r1
int v6; // r3
_DWORD *v7; // r2
GameObject **v8; // r5
GameObject **v9; // r4
GameObject *v10; // r0
GameObject *v11; // t1
v3 = *((GameObject **)this + 249);
if ( v3 )
{
GameObject::deselectObject(v3, a2);
}
else if ( cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 167)) )
{
v6 = *((_DWORD *)this + 167);
if ( v6 )
{
v7 = *(_DWORD **)(v6 + 52);
if ( *v7 )
{
v8 = (GameObject **)v7[3];
v9 = &v8[*v7] + 0x3FFFFFFF;
while ( v8 <= v9 )
{
v11 = *v8++;
v10 = v11;
if ( !v11 )
break;
GameObject::deselectObject(v10, v5);
}
}
}
}
return EditorUI::showLiveColorSelectForMode(this, a2);
}