{"type": "func", "start": 4295022360, "end": 4295022500, "name": "ColorAction::loadFromState", "pseudocode": "// \n// ColorAction::loadFromState from 0x10000d718 to 0x10000d7a4 (140 bytes)\n// \n// 1 xrefs:\n// > GJEffectManager::loadFromState @ 0x100016dec\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::loadFromState(ColorAction *a1, CAState *a2)\n{\n  __int16 v2; // w8\n  __int16 v3; // w8\n  __int16 v4; // w8\n  __int64 v5; // d0\n  __int64 v6; // d1\n\n  v2 = *(_WORD *)&a2->m_fromColor.r;\n  a1->m_fromColor.b = a2->m_fromColor.b;\n  *(_WORD *)&a1->m_fromColor.r = v2;\n  v3 = *(_WORD *)&a2->m_toColor.r;\n  a1->m_toColor.b = a2->m_toColor.b;\n  *(_WORD *)&a1->m_toColor.r = v3;\n  v4 = *(_WORD *)&a2->m_color.r;\n  a1->m_color.b = a2->m_color.b;\n  *(_WORD *)&a1->m_color.r = v4;\n  a1->m_paused = a2->m_paused;\n  a1->m_duration = a2->m_duration;\n  v5 = *(_QWORD *)&a2->m_playerColor;\n  a1->m_blending = a2->m_blending;\n  v6 = *(_QWORD *)&a2->m_fromOpacity;\n  *(_QWORD *)&a1->m_playerColor = v5;\n  *(_QWORD *)&a1->m_fromOpacity = v6;\n  a1->m_copyOpacity = a2->m_copyOpacity;\n  a1->m_copyID = a2->m_copyID;\n  a1->m_copyHSV = a2->m_copyHSV;\n  a1->m_uniqueID = a2->m_uniqueID;\n  a1->m_legacyHSV = a2->m_legacyHSV;\n  *(int32x2_t *)&a1->m_currentOpacity = vrev64_s32(*(int32x2_t *)&a2->m_deltaTime);\n}", "assembly": "; \n; ColorAction::loadFromState from 0x10000d718 to 0x10000d7a4 (140 bytes)\n; \n; 1 xrefs:\n; > GJEffectManager::loadFromState @ 0x100016dec\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\nLDRH            W8, [X1]                                               ; +0x0, 0x10000d718\nLDRB            W9, [X1,#2]                                            ; +0x4, 0x10000d71c\nSTRB            W9, [X0,#0x4A]                                         ; +0x8, 0x10000d720\nSTRH            W8, [X0,#0x48]                                         ; +0xc, 0x10000d724\nLDURH           W8, [X1,#3]                                            ; +0x10, 0x10000d728\nLDRB            W9, [X1,#5]                                            ; +0x14, 0x10000d72c\nSTRB            W9, [X0,#0x4D]                                         ; +0x18, 0x10000d730\nSTURH           W8, [X0,#0x4B]                                         ; +0x1c, 0x10000d734\nLDRH            W8, [X1,#6]                                            ; +0x20, 0x10000d738\nLDRB            W9, [X1,#8]                                            ; +0x24, 0x10000d73c\nSTRB            W9, [X0,#0x3C]                                         ; +0x28, 0x10000d740\nSTRH            W8, [X0,#0x3A]                                         ; +0x2c, 0x10000d744\nLDRB            W8, [X1,#9]                                            ; +0x30, 0x10000d748\nSTRB            W8, [X0,#0x39]                                         ; +0x34, 0x10000d74c\nLDR             S0, [X1,#0x20]                                         ; +0x38, 0x10000d750\nSTR             S0, [X0,#0x50]                                         ; +0x3c, 0x10000d754\nLDR             D0, [X1,#0x10]                                         ; +0x40, 0x10000d758\nLDRB            W8, [X1,#0xA]                                          ; +0x44, 0x10000d75c\nSTRB            W8, [X0,#0x54]                                         ; +0x48, 0x10000d760\nLDUR            D1, [X1,#0x24]                                         ; +0x4c, 0x10000d764\nSTP             D0, D1, [X0,#0x58]                                     ; +0x50, 0x10000d768\nLDRB            W8, [X1,#0xB]                                          ; +0x54, 0x10000d76c\nSTRB            W8, [X0,#0x7D]                                         ; +0x58, 0x10000d770\nLDR             W8, [X1,#0x18]                                         ; +0x5c, 0x10000d774\nSTR             W8, [X0,#0x78]                                         ; +0x60, 0x10000d778\nLDUR            Q0, [X1,#0x34]                                         ; +0x64, 0x10000d77c\nSTUR            Q0, [X0,#0x68]                                         ; +0x68, 0x10000d780\nLDR             W8, [X1,#0x1C]                                         ; +0x6c, 0x10000d784\nSTR             W8, [X0,#0x80]                                         ; +0x70, 0x10000d788\nLDRB            W8, [X1,#0xC]                                          ; +0x74, 0x10000d78c\nSTRB            W8, [X0,#0x88]                                         ; +0x78, 0x10000d790\nLDUR            D0, [X1,#0x2C]                                         ; +0x7c, 0x10000d794\nREV64           V0.2S, V0.2S                                           ; +0x80, 0x10000d798\nSTR             D0, [X0,#0x40]                                         ; +0x84, 0x10000d79c\nRET                                                                    ; +0x88, 0x10000d7a0", "xrefs": ["GJEffectManager::loadFromState @ 0x100016dec"], "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"}