//
// GJEffectManager::setColorAction from 0x10000fb0c to 0x10000fb70 (100 bytes)
//
// 9 xrefs:
// > GJEffectManager::getColorAction @ 0x10000f0f4
// > GJEffectManager::setupFromString @ 0x100016934
// > GJEffectManager::loadFromState @ 0x100016dfc
// > LevelSettingsObject::init @ 0x10036ac20
// > LevelSettingsObject::init @ 0x10036ac40
// > LevelSettingsObject::init @ 0x10036ac5c
// > LevelSettingsObject::init @ 0x10036ac84
// > LevelSettingsObject::init @ 0x10036aca0
// > LevelSettingsObject::init @ 0x10036acbc
//
// 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 v5; // w8
intptr_t v6; // x21
ColorActionSprite *ColorSprite; // x0
v5 = a3 & ~(a3 >> 31);
if ( v5 >= 1101 )
v6 = 1101;
else
v6 = (unsigned int)v5;
a2->m_colorID = v6;
cocos2d::CCDictionary::setObject(a1->m_unkObject148, a2, v6);
a1->m_colorActionVector.__begin_[(unsigned int)v6] = a2;
ColorSprite = GJEffectManager::getColorSprite(a1, v6);
a2->m_colorSprite = ColorSprite;
ColorSprite->m_colorAction = a2;
}