//
// EffectGameObject::updateSpecialColor from 0x8772b0 to 0x87735c (172 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::addSpecial @ 0x7a075c
// > SetupObjectTogglePopup::valueDidChange @ 0xa41ef0
// > EditorUI::getCreateBtn @ 0xbe2690
// > ??> @ 0xcc8b0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:55:50 +0000
//
__int64 __fastcall EffectGameObject::updateSpecialColor(EffectGameObject *this)
{
__int64 v2; // x0
if ( *((_DWORD *)this + 257) == 1049 )
{
v2 = (*(__int64 (__fastcall **)(EffectGameObject *, __int64))(*(_QWORD *)this + 480LL))(this, 998);
if ( v2 )
(*(void (**)(void))(*(_QWORD *)v2 + 960LL))();
}
return _stack_chk_guard;
}