//
// ColorAction::updateCustomColor from 0x8a3d94 to 0x8a3dec (88 bytes)
//
// 2 xrefs:
// > GJEffectManager::updateColors @ 0x8a4064
// > ??> @ 0xa2ca8
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void ColorAction::updateCustomColor(ColorAction *a1, cocos2d::ccColor3B a2, cocos2d::ccColor3B a3)
{
int m_playerColor; // w1
int v4; // [xsp+8h] [xbp-8h]
v4 = *(_DWORD *)&a2.r;
m_playerColor = a1->m_playerColor;
if ( m_playerColor == 1 )
{
a1->m_fromColor = (cocos2d::ccColor3B)v4;
}
else if ( m_playerColor == 2 )
{
a1->m_fromColor = a3;
}
}