//
// GJEffectManager::setColorAction from 0x1002df540 to 0x1002df5a8 (104 bytes)
//
// 6 xrefs:
// > LevelSettingsObject::init @ 0x100102ea4
// > LevelSettingsObject::init @ 0x100102ec7
// > LevelSettingsObject::init @ 0x100102eea
// > LevelSettingsObject::init @ 0x100102f11
// > LevelSettingsObject::init @ 0x100102f34
// > LevelSettingsObject::init @ 0x100102f57
//
// 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::setColorAction(GJEffectManager *a1, ColorAction *a2, int a3)
{
int v3; // eax
intptr_t v4; // r15
ColorActionSprite *ColorSprite; // rax
v3 = 0;
if ( a3 > 0 )
v3 = a3;
v4 = 1101;
if ( v3 < 1101 )
v4 = (unsigned int)v3;
a2->m_colorID = v4;
cocos2d::CCDictionary::setObject(a1->m_unkObject148, a2, v4);
a1->m_colorActionVector.__begin_[v4] = a2;
ColorSprite = GJEffectManager::getColorSprite(a1, v4);
a2->m_colorSprite = ColorSprite;
ColorSprite->m_colorAction = a2;
}