{"type": "func", "start": 4297956048, "end": 4297956193, "name": "ColorAction::saveToState", "pseudocode": "// \n// ColorAction::saveToState from 0x1002d9ad0 to 0x1002d9b61 (145 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall ColorAction::saveToState(ColorAction *a1, CAState *a2)\n{\n  a2->m_fromColor = a1->m_fromColor;\n  a2->m_toColor = a1->m_toColor;\n  a2->m_color = a1->m_color;\n  a2->m_paused = a1->m_paused;\n  a2->m_duration = a1->m_duration;\n  *(_QWORD *)&a2->m_playerColor = *(_QWORD *)&a1->m_playerColor;\n  a2->m_blending = a1->m_blending;\n  *(_QWORD *)&a2->m_fromOpacity = *(_QWORD *)&a1->m_fromOpacity;\n  a2->m_copyOpacity = a1->m_copyOpacity;\n  a2->m_copyID = a1->m_copyID;\n  a2->m_copyHSV = a1->m_copyHSV;\n  a2->m_uniqueID = a1->m_uniqueID;\n  a2->m_legacyHSV = a1->m_legacyHSV;\n  _mm_storel_ps(\n    (double *)&a2->m_deltaTime,\n    _mm_shuffle_ps(\n      (__m128)*(unsigned __int64 *)&a1->m_currentOpacity,\n      (__m128)*(unsigned __int64 *)&a1->m_currentOpacity,\n      225));\n}", "assembly": "; \n; ColorAction::saveToState from 0x1002d9ad0 to 0x1002d9b61 (145 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1002d9ad0\nmov     rbp, rsp                                                       ; +0x1, 0x1002d9ad1\nmovzx   eax, byte ptr [rdi+4Ah]                                        ; +0x4, 0x1002d9ad4\nmov     [rsi+2], al                                                    ; +0x8, 0x1002d9ad8\nmovzx   eax, word ptr [rdi+48h]                                        ; +0xb, 0x1002d9adb\nmov     [rsi], ax                                                      ; +0xf, 0x1002d9adf\nmovzx   eax, byte ptr [rdi+4Dh]                                        ; +0x12, 0x1002d9ae2\nmov     [rsi+5], al                                                    ; +0x16, 0x1002d9ae6\nmovzx   eax, word ptr [rdi+4Bh]                                        ; +0x19, 0x1002d9ae9\nmov     [rsi+3], ax                                                    ; +0x1d, 0x1002d9aed\nmovzx   eax, word ptr [rdi+3Ah]                                        ; +0x21, 0x1002d9af1\nmov     [rsi+6], ax                                                    ; +0x25, 0x1002d9af5\nmovzx   eax, byte ptr [rdi+3Ch]                                        ; +0x29, 0x1002d9af9\nmov     [rsi+8], al                                                    ; +0x2d, 0x1002d9afd\nmovzx   eax, byte ptr [rdi+39h]                                        ; +0x30, 0x1002d9b00\nmov     [rsi+9], al                                                    ; +0x34, 0x1002d9b04\nmovss   xmm0, dword ptr [rdi+50h]                                      ; +0x37, 0x1002d9b07\nmovss   dword ptr [rsi+20h], xmm0                                      ; +0x3c, 0x1002d9b0c\nmov     rax, [rdi+58h]                                                 ; +0x41, 0x1002d9b11\nmov     [rsi+10h], rax                                                 ; +0x45, 0x1002d9b15\nmovzx   eax, byte ptr [rdi+54h]                                        ; +0x49, 0x1002d9b19\nmov     [rsi+0Ah], al                                                  ; +0x4d, 0x1002d9b1d\nmovsd   xmm0, qword ptr [rdi+60h]                                      ; +0x50, 0x1002d9b20\nmovsd   qword ptr [rsi+24h], xmm0                                      ; +0x55, 0x1002d9b25\nmovzx   eax, byte ptr [rdi+7Dh]                                        ; +0x5a, 0x1002d9b2a\nmov     [rsi+0Bh], al                                                  ; +0x5e, 0x1002d9b2e\nmov     eax, [rdi+78h]                                                 ; +0x61, 0x1002d9b31\nmov     [rsi+18h], eax                                                 ; +0x64, 0x1002d9b34\nmovups  xmm0, xmmword ptr [rdi+68h]                                    ; +0x67, 0x1002d9b37\nmovups  xmmword ptr [rsi+34h], xmm0                                    ; +0x6b, 0x1002d9b3b\nmov     eax, [rdi+80h]                                                 ; +0x6f, 0x1002d9b3f\nmov     [rsi+1Ch], eax                                                 ; +0x75, 0x1002d9b45\nmovzx   eax, byte ptr [rdi+88h]                                        ; +0x78, 0x1002d9b48\nmov     [rsi+0Ch], al                                                  ; +0x7f, 0x1002d9b4f\nmovsd   xmm0, qword ptr [rdi+40h]                                      ; +0x82, 0x1002d9b52\nshufps  xmm0, xmm0, 0E1h                                               ; +0x87, 0x1002d9b57\nmovlps  qword ptr [rsi+2Ch], xmm0                                      ; +0x8b, 0x1002d9b5b\npop     rbp                                                            ; +0x8f, 0x1002d9b5f\nretn                                                                   ; +0x90, 0x1002d9b60", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}