// // ColorAction::loadFromState from 0x8a3e98 to 0x8a3f44 (172 bytes) // // 2 xrefs: // > GJEffectManager::loadFromState @ 0x8c1150 // > @ 0xc3b10 // // 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 ColorAction::loadFromState(ColorAction *a1, CAState *a2) { float m_duration; // w8 float m_fromOpacity; // w7 int m_playerColor; // w13 float m_toOpacity; // w6 int m_colorID; // w12 __int64 v7; // x4 __int64 v8; // x5 bool m_blending; // w11 bool m_copyOpacity; // w10 int m_copyID; // w9 float m_deltaTime; // w2 int m_uniqueID; // w3 float m_currentOpacity; // w2 a1->m_fromColor = a2->m_fromColor; a1->m_toColor = a2->m_toColor; a1->m_color = a2->m_color; m_duration = a2->m_duration; m_fromOpacity = a2->m_fromOpacity; m_playerColor = a2->m_playerColor; m_toOpacity = a2->m_toOpacity; m_colorID = a2->m_colorID; v7 = *(_QWORD *)&a2->m_copyHSV.h; v8 = *(_QWORD *)&a2->m_copyHSV.v; m_blending = a2->m_blending; m_copyOpacity = a2->m_copyOpacity; m_copyID = a2->m_copyID; m_deltaTime = a2->m_deltaTime; a1->m_paused = a2->m_paused; a1->m_playerColor = m_playerColor; a1->m_colorID = m_colorID; a1->m_blending = m_blending; a1->m_copyOpacity = m_copyOpacity; a1->m_copyID = m_copyID; a1->m_duration = m_duration; a1->m_fromOpacity = m_fromOpacity; a1->m_toOpacity = m_toOpacity; *(_QWORD *)&a1->m_copyHSV.h = v7; *(_QWORD *)&a1->m_copyHSV.v = v8; a1->m_deltaTime = m_deltaTime; m_uniqueID = a2->m_uniqueID; m_currentOpacity = a2->m_currentOpacity; a1->m_legacyHSV = a2->m_legacyHSV; a1->m_uniqueID = m_uniqueID; a1->m_currentOpacity = m_currentOpacity; }