//
// ColorAction2::ColorAction2 from 0x1004ed610 to 0x1004ed684 (116 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
//
ColorAction2 *__fastcall ColorAction2::ColorAction2(
ColorAction2 *a1,
cocos2d::ccColor3B a2,
cocos2d::ccColor3B a3,
float a4,
double a5,
bool a6,
int a7,
float a8,
float a9)
{
ColorAction2 *result; // rax
*(_WORD *)&a1->m_stepFinished = 0;
_mm_storel_ps((double *)&a1->m_currentOpacity, (__m128)0x3F800000u);
a1->m_copyHSV = (cocos2d::ccHSVValue)xmmword_1009A2420;
a1->m_uniqueID = 0;
a1->m_legacyHSV = 0;
a1->m_copyID = 0;
*(int *)((char *)&a1->m_copyID + 3) = 0;
*(_OWORD *)&a1->m_colorSprite = 0;
a1->m_fromColor = a2;
a1->m_toColor = a3;
a1->m_duration = a4;
a1->m_blending = a6;
a1->m_playerColor = a7;
a1->m_colorID = 0;
a1->m_fromOpacity = a8;
a1->m_toOpacity = a9;
return result;
}