//
// GJEffectManager::setColorAction from 0x14025be20 to 0x14025be9d (125 bytes)
//
// 3 xrefs:
// > GJEffectManager::setupFromString @ 0x140263de2
// > GJEffectManager::loadFromState @ 0x1402645ea
// > ??> @ 0x1406cfd5c
//
// 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 GJEffectManager::setColorAction(GJEffectManager *a1, ColorAction *a2, int a3)
{
int v3; // esi
ColorActionSprite *ColorSprite; // rax
v3 = a3;
if ( a3 < 0 )
v3 = 0;
if ( v3 > 1101 )
v3 = 1101;
a2->m_colorID = v3;
cocos2d::CCDictionary::setObject(a1->m_unkObject148, a2, v3);
a1->m_colorActionVector._Mypair._Myval2._Myfirst[v3] = a2;
ColorSprite = GJEffectManager::getColorSprite(a1, v3);
a2->m_colorSprite = ColorSprite;
ColorSprite->m_colorAction = a2;
}