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