//
// GJEffectManager::updateColorAction from 0x1002e7dd0 to 0x1002e7e0e (62 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::runColorEffect @ 0x1000efdc6
// > LevelEditorLayer::stopTriggersInGroup @ 0x1000f00d5
//
// 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; // rax
if ( !a2->m_copyID )
{
m_colorSprite = a2->m_colorSprite;
m_colorSprite->m_color = a2->m_color;
m_colorSprite->m_opacity = a2->m_currentOpacity * 255.0;
}
}