{"type": "func", "start": 12200472, "end": 12200560, "name": "ColorAction2::updateCustomColor", "pseudocode": "// \n// ColorAction2::updateCustomColor from 0xba2a18 to 0xba2a70 (88 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x564a0\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 13:02:47 +0000\n// \n\n__int64 __fastcall ColorAction2::updateCustomColor(__int64 result, int a2, int a3)\n{\n  int v3; // w1\n\n  v3 = *(_DWORD *)(result + 32);\n  if ( v3 == 1 )\n  {\n    *(_WORD *)(result + 16) = a2;\n    *(_BYTE *)(result + 18) = BYTE2(a2);\n  }\n  else if ( v3 == 2 )\n  {\n    *(_WORD *)(result + 16) = a3;\n    *(_BYTE *)(result + 18) = BYTE2(a3);\n  }\n  return result;\n}", "assembly": "; \n; ColorAction2::updateCustomColor from 0xba2a18 to 0xba2a70 (88 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x564a0\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 13:02:47 +0000\n; \nSUB             SP, SP, #0x10                                          ; +0x0, 0xba2a18\nSTR             X1, [SP,#0x10+var_8]                                   ; +0x4, 0xba2a1c\nLDR             W1, [X0,#0x20]                                         ; +0x8, 0xba2a20\nSTR             X2, [SP,#0x10+var_10]                                  ; +0xc, 0xba2a24\nCMP             W1, #1                                                 ; +0x10, 0xba2a28\nB.EQ            loc_BA2A58                                             ; +0x14, 0xba2a2c\nCMP             W1, #2                                                 ; +0x18, 0xba2a30\nB.EQ            loc_BA2A40                                             ; +0x1c, 0xba2a34\nADD             SP, SP, #0x10                                          ; +0x20, 0xba2a38\nRET                                                                    ; +0x24, 0xba2a3c\nLDRH            W3, [SP,#0x10+var_10]                                  ; +0x28, 0xba2a40\nLDRB            W1, [SP,#0x10+var_10+2]                                ; +0x2c, 0xba2a44\nSTRH            W3, [X0,#0x10]                                         ; +0x30, 0xba2a48\nSTRB            W1, [X0,#0x12]                                         ; +0x34, 0xba2a4c\nADD             SP, SP, #0x10                                          ; +0x38, 0xba2a50\nRET                                                                    ; +0x3c, 0xba2a54\nLDRH            W1, [SP,#0x10+var_8]                                   ; +0x40, 0xba2a58\nSTRH            W1, [X0,#0x10]                                         ; +0x44, 0xba2a5c\nLDRB            W1, [SP,#0x10+var_8+2]                                 ; +0x48, 0xba2a60\nSTRB            W1, [X0,#0x12]                                         ; +0x4c, 0xba2a64\nADD             SP, SP, #0x10                                          ; +0x50, 0xba2a68\nRET                                                                    ; +0x54, 0xba2a6c", "xrefs": ["<???> @ 0x564a0"], "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"}