{"type": "func", "start": 4300112832, "end": 4300112864, "name": "ColorAction2::updateCustomColor", "pseudocode": "// \n// ColorAction2::updateCustomColor from 0x1004e83c0 to 0x1004e83e0 (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:31:20 +0000\n// \n\n__int64 __fastcall ColorAction2::updateCustomColor(__int64 a1, int a2, int a3)\n{\n  __int64 result; // rax\n\n  result = *(unsigned int *)(a1 + 32);\n  if ( (_DWORD)result != 1 )\n  {\n    if ( (_DWORD)result != 2 )\n      return result;\n    a2 = a3;\n  }\n  *(_WORD *)(a1 + 16) = a2;\n  *(_BYTE *)(a1 + 18) = BYTE2(a2);\n  return result;\n}", "assembly": "; \n; ColorAction2::updateCustomColor from 0x1004e83c0 to 0x1004e83e0 (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:31:20 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004e83c0\nmov     rbp, rsp                                                       ; +0x1, 0x1004e83c1\nmov     eax, [rdi+20h]                                                 ; +0x4, 0x1004e83c4\ncmp     eax, 1                                                         ; +0x7, 0x1004e83c7\njz      short loc_1004E83D3                                            ; +0xa, 0x1004e83ca\ncmp     eax, 2                                                         ; +0xc, 0x1004e83cc\njnz     short loc_1004E83DE                                            ; +0xf, 0x1004e83cf\nmov     esi, edx                                                       ; +0x11, 0x1004e83d1\nmov     [rdi+10h], si                                                  ; +0x13, 0x1004e83d3\nshr     esi, 10h                                                       ; +0x17, 0x1004e83d7\nmov     [rdi+12h], sil                                                 ; +0x1a, 0x1004e83da\npop     rbp                                                            ; +0x1e, 0x1004e83de\nretn                                                                   ; +0x1f, 0x1004e83df", "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"}