{"type": "func", "start": 10457880, "end": 10458052, "name": "ColorAction::saveToState", "pseudocode": "// \n// ColorAction::saveToState from 0x9f9318 to 0x9f93c4 (172 bytes)\n// \n// 2 xrefs:\n// > GJEffectManager::saveToState @ 0xa19364\n// > <???> @ 0x57040\n// \n// This function is hookable on this platform (idp: arm, 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:59:15 +0000\n// \n\n__int64 __fastcall ColorAction::saveToState(__int64 a1, __int64 a2)\n{\n  __int64 v2; // x5\n  __int64 result; // x0\n\n  *(_WORD *)a2 = *(_WORD *)(a1 + 72);\n  *(_BYTE *)(a2 + 2) = *(_BYTE *)(a1 + 74);\n  *(_WORD *)(a2 + 3) = *(_WORD *)(a1 + 75);\n  *(_BYTE *)(a2 + 5) = *(_BYTE *)(a1 + 77);\n  *(_WORD *)(a2 + 6) = *(_WORD *)(a1 + 58);\n  *(_BYTE *)(a2 + 8) = *(_BYTE *)(a1 + 60);\n  *(_BYTE *)(a2 + 9) = *(_BYTE *)(a1 + 57);\n  *(_DWORD *)(a2 + 16) = *(_DWORD *)(a1 + 88);\n  *(_DWORD *)(a2 + 32) = *(_DWORD *)(a1 + 80);\n  *(_DWORD *)(a2 + 20) = *(_DWORD *)(a1 + 92);\n  *(_BYTE *)(a2 + 10) = *(_BYTE *)(a1 + 84);\n  *(_DWORD *)(a2 + 36) = *(_DWORD *)(a1 + 96);\n  *(_DWORD *)(a2 + 40) = *(_DWORD *)(a1 + 100);\n  *(_BYTE *)(a2 + 11) = *(_BYTE *)(a1 + 125);\n  *(_DWORD *)(a2 + 24) = *(_DWORD *)(a1 + 120);\n  v2 = *(_QWORD *)(a1 + 112);\n  *(_QWORD *)(a2 + 52) = *(_QWORD *)(a1 + 104);\n  *(_QWORD *)(a2 + 60) = v2;\n  *(_DWORD *)(a2 + 44) = *(_DWORD *)(a1 + 68);\n  *(_DWORD *)(a2 + 28) = *(_DWORD *)(a1 + 128);\n  *(_BYTE *)(a2 + 12) = *(_BYTE *)(a1 + 136);\n  result = *(unsigned int *)(a1 + 64);\n  *(_DWORD *)(a2 + 48) = result;\n  return result;\n}", "assembly": "; \n; ColorAction::saveToState from 0x9f9318 to 0x9f93c4 (172 bytes)\n; \n; 2 xrefs:\n; > GJEffectManager::saveToState @ 0xa19364\n; > <???> @ 0x57040\n; \n; This function is hookable on this platform (idp: arm, 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:59:15 +0000\n; \nLDRH            W4, [X0,#0x48]                                         ; +0x0, 0x9f9318\nADD             X3, X0, #0x68 ; 'h'                                    ; +0x4, 0x9f931c\nSTRH            W4, [X1]                                               ; +0x8, 0x9f9320\nADD             X2, X1, #0x34 ; '4'                                    ; +0xc, 0x9f9324\nLDRB            W4, [X0,#0x4A]                                         ; +0x10, 0x9f9328\nSTRB            W4, [X1,#2]                                            ; +0x14, 0x9f932c\nLDURH           W4, [X0,#0x4B]                                         ; +0x18, 0x9f9330\nSTURH           W4, [X1,#3]                                            ; +0x1c, 0x9f9334\nLDRB            W4, [X0,#0x4D]                                         ; +0x20, 0x9f9338\nSTRB            W4, [X1,#5]                                            ; +0x24, 0x9f933c\nLDRH            W4, [X0,#0x3A]                                         ; +0x28, 0x9f9340\nSTRH            W4, [X1,#6]                                            ; +0x2c, 0x9f9344\nLDRB            W4, [X0,#0x3C]                                         ; +0x30, 0x9f9348\nSTRB            W4, [X1,#8]                                            ; +0x34, 0x9f934c\nLDRB            W4, [X0,#0x39]                                         ; +0x38, 0x9f9350\nSTRB            W4, [X1,#9]                                            ; +0x3c, 0x9f9354\nLDR             W4, [X0,#0x58]                                         ; +0x40, 0x9f9358\nSTR             W4, [X1,#0x10]                                         ; +0x44, 0x9f935c\nLDR             W4, [X0,#0x50]                                         ; +0x48, 0x9f9360\nSTR             W4, [X1,#0x20]                                         ; +0x4c, 0x9f9364\nLDR             W4, [X0,#0x5C]                                         ; +0x50, 0x9f9368\nSTR             W4, [X1,#0x14]                                         ; +0x54, 0x9f936c\nLDRB            W4, [X0,#0x54]                                         ; +0x58, 0x9f9370\nSTRB            W4, [X1,#0xA]                                          ; +0x5c, 0x9f9374\nLDR             W4, [X0,#0x60]                                         ; +0x60, 0x9f9378\nSTR             W4, [X1,#0x24]                                         ; +0x64, 0x9f937c\nLDR             W4, [X0,#0x64]                                         ; +0x68, 0x9f9380\nSTR             W4, [X1,#0x28]                                         ; +0x6c, 0x9f9384\nLDRB            W4, [X0,#0x7D]                                         ; +0x70, 0x9f9388\nSTRB            W4, [X1,#0xB]                                          ; +0x74, 0x9f938c\nLDR             W4, [X0,#0x78]                                         ; +0x78, 0x9f9390\nSTR             W4, [X1,#0x18]                                         ; +0x7c, 0x9f9394\nLDP             X4, X5, [X3]                                           ; +0x80, 0x9f9398\nSTP             X4, X5, [X2]                                           ; +0x84, 0x9f939c\nLDR             W2, [X0,#0x44]                                         ; +0x88, 0x9f93a0\nSTR             W2, [X1,#0x2C]                                         ; +0x8c, 0x9f93a4\nLDR             W2, [X0,#0x80]                                         ; +0x90, 0x9f93a8\nSTR             W2, [X1,#0x1C]                                         ; +0x94, 0x9f93ac\nLDRB            W2, [X0,#0x88]                                         ; +0x98, 0x9f93b0\nSTRB            W2, [X1,#0xC]                                          ; +0x9c, 0x9f93b4\nLDR             W0, [X0,#0x40]                                         ; +0xa0, 0x9f93b8\nSTR             W0, [X1,#0x30]                                         ; +0xa4, 0x9f93bc\nRET                                                                    ; +0xa8, 0x9f93c0", "xrefs": ["GJEffectManager::saveToState @ 0xa19364", "<???> @ 0x57040"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}