//
// ColorAction::loadFromState from 0x10000d718 to 0x10000d7a4 (140 bytes)
//
// 1 xrefs:
// > GJEffectManager::loadFromState @ 0x100016dec
//
// 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)
{
__int16 v2; // w8
__int16 v3; // w8
__int16 v4; // w8
__int64 v5; // d0
__int64 v6; // d1
v2 = *(_WORD *)&a2->m_fromColor.r;
a1->m_fromColor.b = a2->m_fromColor.b;
*(_WORD *)&a1->m_fromColor.r = v2;
v3 = *(_WORD *)&a2->m_toColor.r;
a1->m_toColor.b = a2->m_toColor.b;
*(_WORD *)&a1->m_toColor.r = v3;
v4 = *(_WORD *)&a2->m_color.r;
a1->m_color.b = a2->m_color.b;
*(_WORD *)&a1->m_color.r = v4;
a1->m_paused = a2->m_paused;
a1->m_duration = a2->m_duration;
v5 = *(_QWORD *)&a2->m_playerColor;
a1->m_blending = a2->m_blending;
v6 = *(_QWORD *)&a2->m_fromOpacity;
*(_QWORD *)&a1->m_playerColor = v5;
*(_QWORD *)&a1->m_fromOpacity = v6;
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;
*(int32x2_t *)&a1->m_currentOpacity = vrev64_s32(*(int32x2_t *)&a2->m_deltaTime);
}