{"type": "func", "start": 4297868608, "end": 4297868640, "name": "ColorAction::updateCustomColor", "pseudocode": "// \n// ColorAction::updateCustomColor from 0x1002c4540 to 0x1002c4560 (32 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::updateCustomColor(__int64 a1, int a2, int a3)\n{\n  __int64 result; // rax\n\n  result = *(unsigned int *)(a1 + 88);\n  if ( (_DWORD)result != 1 )\n  {\n    if ( (_DWORD)result != 2 )\n      return result;\n    a2 = a3;\n  }\n  *(_WORD *)(a1 + 72) = a2;\n  *(_BYTE *)(a1 + 74) = BYTE2(a2);\n  return result;\n}", "assembly": "; \n; ColorAction::updateCustomColor from 0x1002c4540 to 0x1002c4560 (32 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, 0x1002c4540\nmov     rbp, rsp                                                       ; +0x1, 0x1002c4541\nmov     eax, [rdi+58h]                                                 ; +0x4, 0x1002c4544\ncmp     eax, 1                                                         ; +0x7, 0x1002c4547\njz      short loc_1002C4553                                            ; +0xa, 0x1002c454a\ncmp     eax, 2                                                         ; +0xc, 0x1002c454c\njnz     short loc_1002C455E                                            ; +0xf, 0x1002c454f\nmov     esi, edx                                                       ; +0x11, 0x1002c4551\nmov     [rdi+48h], si                                                  ; +0x13, 0x1002c4553\nshr     esi, 10h                                                       ; +0x17, 0x1002c4557\nmov     [rdi+4Ah], sil                                                 ; +0x1a, 0x1002c455a\npop     rbp                                                            ; +0x1e, 0x1002c455e\nretn                                                                   ; +0x1f, 0x1002c455f", "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"}