//
// EffectGameObject::updateSpecialColor from 0x1404a85b0 to 0x1404a8627 (119 bytes)
//
// 4 xrefs:
// > EditorUI::getCreateBtn @ 0x14010ec17
// > LevelEditorLayer::addSpecial @ 0x1402d7ec3
// > SetupObjectTogglePopup::valueDidChange @ 0x14042a3ae
// > ??> @ 0x1406dc8c0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void EffectGameObject::updateSpecialColor(EffectGameObject *a1)
{
cocos2d::CCNode *v2; // rax
cocos2d::CCNode *v3; // rcx
cocos2d::CCNode_vtbl *v4; // rax
cocos2d::CCNode_vtbl *v5; // rax
__int16 v6; // [rsp+30h] [rbp+8h] BYREF
char v7; // [rsp+32h] [rbp+Ah]
__int16 v8; // [rsp+38h] [rbp+10h] BYREF
char v9; // [rsp+3Ah] [rbp+12h]
if ( a1->m_objectID == 1049 )
{
v2 = a1->getChildByTag(a1, 998);
if ( v2 )
{
v3 = v2 + 1;
if ( a1->m_activateGroup )
{
v6 = -256;
v4 = v2[1].__vftable;
v7 = 127;
v4->copyWithZone(v3, (cocos2d::CCZone *)&v6);
}
else
{
v8 = 0x3FFF;
v5 = v2[1].__vftable;
v9 = 63;
v5->copyWithZone(v3, (cocos2d::CCZone *)&v8);
}
}
}
}