//
// EffectGameObject::updateSpecialColor from 0x1001bb020 to 0x1001bb07d (93 bytes)
//
// 3 xrefs:
// > EditorUI::getCreateBtn @ 0x10003392a
// > LevelEditorLayer::addSpecial @ 0x1000dff9e
// > SetupObjectTogglePopup::valueDidChange @ 0x1003767fe
//
// 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 __fastcall EffectGameObject::updateSpecialColor(EffectGameObject *a1)
{
__int64 v1; // rax
__int64 v2; // rax
int v3; // edx
int v4; // [rsp-14h] [rbp-14h] BYREF
if ( a1->m_objectID == 1049 )
{
v4 = HIDWORD(v1);
v2 = ((__int64 (__fastcall *)(EffectGameObject *, __int64))a1->getChildByTag)(a1, 998);
if ( v2 )
{
v3 = 4145151;
if ( a1->m_activateGroup )
v3 = 8388352;
LOWORD(v4) = v3;
BYTE2(v4) = BYTE2(v3);
(*(void (__fastcall **)(__int64, int *))(*(_QWORD *)v2 + 944LL))(v2, &v4);
}
}
}