//
// ColorAction::updateCustomColor from 0x4998fe to 0x499924 (38 bytes)
//
// 1 xrefs:
// > GJEffectManager::updateColors @ 0x499af6
//
// 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 ColorAction::updateCustomColor(ColorAction *a1, cocos2d::ccColor3B a2, cocos2d::ccColor3B a3)
{
int m_playerColor; // r3
m_playerColor = a1->m_playerColor;
if ( m_playerColor == 1 )
{
a1->m_fromColor = a2;
}
else if ( m_playerColor == 2 )
{
a1->m_fromColor = a3;
}
}