//
// EffectGameObject::updateSpecialColor from 0x1003865bc to 0x100386634 (120 bytes)
//
// 3 xrefs:
// > SetupObjectTogglePopup::valueDidChange @ 0x1001a3470
// > LevelEditorLayer::addSpecial @ 0x100359e3c
// > EditorUI::getCreateBtn @ 0x1003ea388
//
// 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; // x29
__int64 v2; // x30
__int64 v4; // x0
int v5; // w8
__int16 v6; // [xsp+Ch] [xbp-24h] BYREF
char v7; // [xsp+Eh] [xbp-22h]
__int64 v8; // [xsp+20h] [xbp-10h]
__int64 v9; // [xsp+28h] [xbp-8h]
if ( a1->m_objectID == 1049 )
{
v8 = v1;
v9 = v2;
v4 = ((__int64 (__fastcall *)(EffectGameObject *, __int64))a1->getChildByTag)(a1, 998);
if ( v4 )
{
if ( a1->m_activateGroup )
v5 = 8388352;
else
v5 = 4145151;
v6 = v5;
v7 = BYTE2(v5);
(*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v4 + 944LL))(v4, &v6);
}
}
}