{"type": "func", "start": 4297868640, "end": 4297868785, "name": "ColorAction::saveToState", "pseudocode": "// \n// ColorAction::saveToState from 0x1002c4560 to 0x1002c45f1 (145 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:28:06 +0000\n// \n\n__int64 __fastcall ColorAction::saveToState(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n\n  *(_BYTE *)(a2 + 2) = *(_BYTE *)(a1 + 74);\n  *(_WORD *)a2 = *(_WORD *)(a1 + 72);\n  *(_BYTE *)(a2 + 5) = *(_BYTE *)(a1 + 77);\n  *(_WORD *)(a2 + 3) = *(_WORD *)(a1 + 75);\n  *(_WORD *)(a2 + 6) = *(_WORD *)(a1 + 58);\n  *(_BYTE *)(a2 + 8) = *(_BYTE *)(a1 + 60);\n  *(_BYTE *)(a2 + 9) = *(_BYTE *)(a1 + 57);\n  *(_DWORD *)(a2 + 32) = *(_DWORD *)(a1 + 80);\n  *(_QWORD *)(a2 + 16) = *(_QWORD *)(a1 + 88);\n  *(_BYTE *)(a2 + 10) = *(_BYTE *)(a1 + 84);\n  *(_QWORD *)(a2 + 36) = *(_QWORD *)(a1 + 96);\n  *(_BYTE *)(a2 + 11) = *(_BYTE *)(a1 + 125);\n  *(_DWORD *)(a2 + 24) = *(_DWORD *)(a1 + 120);\n  *(_OWORD *)(a2 + 52) = *(_OWORD *)(a1 + 104);\n  *(_DWORD *)(a2 + 28) = *(_DWORD *)(a1 + 128);\n  result = *(unsigned __int8 *)(a1 + 136);\n  *(_BYTE *)(a2 + 12) = result;\n  _mm_storel_ps(\n    (double *)(a2 + 44),\n    _mm_shuffle_ps((__m128)*(unsigned __int64 *)(a1 + 64), (__m128)*(unsigned __int64 *)(a1 + 64), 225));\n  return result;\n}", "assembly": "; \n; ColorAction::saveToState from 0x1002c4560 to 0x1002c45f1 (145 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:28:06 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002c4560\nmov     rbp, rsp                                                       ; +0x1, 0x1002c4561\nmovzx   eax, byte ptr [rdi+4Ah]                                        ; +0x4, 0x1002c4564\nmov     [rsi+2], al                                                    ; +0x8, 0x1002c4568\nmovzx   eax, word ptr [rdi+48h]                                        ; +0xb, 0x1002c456b\nmov     [rsi], ax                                                      ; +0xf, 0x1002c456f\nmovzx   eax, byte ptr [rdi+4Dh]                                        ; +0x12, 0x1002c4572\nmov     [rsi+5], al                                                    ; +0x16, 0x1002c4576\nmovzx   eax, word ptr [rdi+4Bh]                                        ; +0x19, 0x1002c4579\nmov     [rsi+3], ax                                                    ; +0x1d, 0x1002c457d\nmovzx   eax, word ptr [rdi+3Ah]                                        ; +0x21, 0x1002c4581\nmov     [rsi+6], ax                                                    ; +0x25, 0x1002c4585\nmovzx   eax, byte ptr [rdi+3Ch]                                        ; +0x29, 0x1002c4589\nmov     [rsi+8], al                                                    ; +0x2d, 0x1002c458d\nmovzx   eax, byte ptr [rdi+39h]                                        ; +0x30, 0x1002c4590\nmov     [rsi+9], al                                                    ; +0x34, 0x1002c4594\nmovss   xmm0, dword ptr [rdi+50h]                                      ; +0x37, 0x1002c4597\nmovss   dword ptr [rsi+20h], xmm0                                      ; +0x3c, 0x1002c459c\nmov     rax, [rdi+58h]                                                 ; +0x41, 0x1002c45a1\nmov     [rsi+10h], rax                                                 ; +0x45, 0x1002c45a5\nmovzx   eax, byte ptr [rdi+54h]                                        ; +0x49, 0x1002c45a9\nmov     [rsi+0Ah], al                                                  ; +0x4d, 0x1002c45ad\nmovsd   xmm0, qword ptr [rdi+60h]                                      ; +0x50, 0x1002c45b0\nmovsd   qword ptr [rsi+24h], xmm0                                      ; +0x55, 0x1002c45b5\nmovzx   eax, byte ptr [rdi+7Dh]                                        ; +0x5a, 0x1002c45ba\nmov     [rsi+0Bh], al                                                  ; +0x5e, 0x1002c45be\nmov     eax, [rdi+78h]                                                 ; +0x61, 0x1002c45c1\nmov     [rsi+18h], eax                                                 ; +0x64, 0x1002c45c4\nmovups  xmm0, xmmword ptr [rdi+68h]                                    ; +0x67, 0x1002c45c7\nmovups  xmmword ptr [rsi+34h], xmm0                                    ; +0x6b, 0x1002c45cb\nmov     eax, [rdi+80h]                                                 ; +0x6f, 0x1002c45cf\nmov     [rsi+1Ch], eax                                                 ; +0x75, 0x1002c45d5\nmovzx   eax, byte ptr [rdi+88h]                                        ; +0x78, 0x1002c45d8\nmov     [rsi+0Ch], al                                                  ; +0x7f, 0x1002c45df\nmovsd   xmm0, qword ptr [rdi+40h]                                      ; +0x82, 0x1002c45e2\nshufps  xmm0, xmm0, 0E1h                                               ; +0x87, 0x1002c45e7\nmovlps  qword ptr [rsi+2Ch], xmm0                                      ; +0x8b, 0x1002c45eb\npop     rbp                                                            ; +0x8f, 0x1002c45ef\nretn                                                                   ; +0x90, 0x1002c45f0", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}