//
// ColorAction::saveToState from 0x1002d9ad0 to 0x1002d9b61 (145 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
//
void __fastcall ColorAction::saveToState(ColorAction *a1, CAState *a2)
{
a2->m_fromColor = a1->m_fromColor;
a2->m_toColor = a1->m_toColor;
a2->m_color = a1->m_color;
a2->m_paused = a1->m_paused;
a2->m_duration = a1->m_duration;
*(_QWORD *)&a2->m_playerColor = *(_QWORD *)&a1->m_playerColor;
a2->m_blending = a1->m_blending;
*(_QWORD *)&a2->m_fromOpacity = *(_QWORD *)&a1->m_fromOpacity;
a2->m_copyOpacity = a1->m_copyOpacity;
a2->m_copyID = a1->m_copyID;
a2->m_copyHSV = a1->m_copyHSV;
a2->m_uniqueID = a1->m_uniqueID;
a2->m_legacyHSV = a1->m_legacyHSV;
_mm_storel_ps(
(double *)&a2->m_deltaTime,
_mm_shuffle_ps(
(__m128)*(unsigned __int64 *)&a1->m_currentOpacity,
(__m128)*(unsigned __int64 *)&a1->m_currentOpacity,
225));
}