//
// EditorUI::colorSelectClosed from 0x484514 to 0x484550 (60 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditorUI::colorSelectClosed @ 0x484554
//
// 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::colorSelectClosed(int this, cocos2d::CCNode *a2)
{
EditorUI *v2; // r4
int v3; // r5
v2 = (EditorUI *)this;
if ( a2 == *(cocos2d::CCNode **)(this + 1024) )
{
v3 = *((unsigned __int8 *)a2 + 645);
*(_DWORD *)(this + 1024) = 0;
}
else
{
if ( a2 != *(cocos2d::CCNode **)(this + 1028) )
return this;
v3 = *((unsigned __int8 *)a2 + 554);
*(_DWORD *)(this + 1028) = 0;
}
this = EditorUI::resetSelectedObjectsColor((EditorUI *)this);
if ( v3 )
return EditorUI::updateEditColorButton(v2);
return this;
}