//
// ColorAction2::updateCustomColor from 0x1004ed830 to 0x1004ed850 (32 bytes)
//
// 0 xrefs:
//
// 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 __fastcall ColorAction2::updateCustomColor(ColorAction2 *a1, cocos2d::ccColor3B a2, cocos2d::ccColor3B a3)
{
int m_playerColor; // eax
m_playerColor = a1->m_playerColor;
if ( m_playerColor != 1 )
{
if ( m_playerColor != 2 )
return;
*(_DWORD *)&a2.r = *(_DWORD *)&a3.r;
}
a1->m_fromColor = a2;
}