//
// GJEffectManager::updateColorAction from 0x1000140a8 to 0x1000140e0 (56 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::runColorEffect @ 0x10036154c
// > LevelEditorLayer::stopTriggersInGroup @ 0x100361750
//
// 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 GJEffectManager::updateColorAction(GJEffectManager *a1, ColorAction *a2)
{
ColorActionSprite *m_colorSprite; // x8
__int16 v3; // w9
if ( !a2->m_copyID )
{
m_colorSprite = a2->m_colorSprite;
v3 = *(_WORD *)&a2->m_color.r;
m_colorSprite->m_color.b = a2->m_color.b;
*(_WORD *)&m_colorSprite->m_color.r = v3;
m_colorSprite->m_opacity = a2->m_currentOpacity * 255.0;
}
}