{"type": "func", "start": 4300829264, "end": 4300829374, "name": "ColorSelectLiveOverlay::updateColorValue", "pseudocode": "// \n// ColorSelectLiveOverlay::updateColorValue from 0x100597250 to 0x1005972be (110 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:32:29 +0000\n// \n\nvoid __fastcall ColorSelectLiveOverlay::updateColorValue(__int64 a1)\n{\n  __int64 v1; // rax\n  __int16 v2; // cx\n  int v3; // eax\n  __int64 v4; // rcx\n\n  if ( !*(_BYTE *)(a1 + 746) )\n  {\n    v1 = *(_QWORD *)(a1 + 664);\n    if ( v1 )\n    {\n      v2 = *(_WORD *)(a1 + 710);\n      *(_BYTE *)(v1 + 1450) = *(_BYTE *)(a1 + 712);\n      *(_WORD *)(v1 + 1448) = v2;\n    }\n    else\n    {\n      v3 = *(unsigned __int16 *)(a1 + 710) | (*(unsigned __int8 *)(a1 + 712) << 16);\n      if ( *(_BYTE *)(a1 + 856) == 1 )\n        v4 = *(_QWORD *)(a1 + 696);\n      else\n        v4 = *(_QWORD *)(a1 + 688);\n      *(_WORD *)(v4 + 72) = *(_WORD *)(a1 + 710);\n      *(_BYTE *)(v4 + 74) = BYTE2(v3);\n    }\n  }\n}", "assembly": "; \n; ColorSelectLiveOverlay::updateColorValue from 0x100597250 to 0x1005972be (110 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:32:29 +0000\n; \ncmp     byte ptr [rdi+2EAh], 0                                         ; +0x0, 0x100597250\njnz     short locret_1005972BD                                         ; +0x7, 0x100597257\npush    rbp                                                            ; +0x9, 0x100597259\nmov     rbp, rsp                                                       ; +0xa, 0x10059725a\nmov     rax, [rdi+298h]                                                ; +0xd, 0x10059725d\ntest    rax, rax                                                       ; +0x14, 0x100597264\njz      short loc_100597286                                            ; +0x17, 0x100597267\nmovzx   ecx, word ptr [rdi+2C6h]                                       ; +0x19, 0x100597269\nmovzx   edx, byte ptr [rdi+2C8h]                                       ; +0x20, 0x100597270\nmov     [rax+5AAh], dl                                                 ; +0x27, 0x100597277\nmov     [rax+5A8h], cx                                                 ; +0x2d, 0x10059727d\njmp     short loc_1005972BC                                            ; +0x34, 0x100597284\nmovzx   ecx, word ptr [rdi+2C6h]                                       ; +0x36, 0x100597286\nmovzx   eax, byte ptr [rdi+2C8h]                                       ; +0x3d, 0x10059728d\nshl     eax, 10h                                                       ; +0x44, 0x100597294\nor      eax, ecx                                                       ; +0x47, 0x100597297\ncmp     byte ptr [rdi+358h], 1                                         ; +0x49, 0x100597299\njnz     short loc_1005972AB                                            ; +0x50, 0x1005972a0\nmov     rcx, [rdi+2B8h]                                                ; +0x52, 0x1005972a2\njmp     short loc_1005972B2                                            ; +0x59, 0x1005972a9\nmov     rcx, [rdi+2B0h]                                                ; +0x5b, 0x1005972ab\nmov     [rcx+48h], ax                                                  ; +0x62, 0x1005972b2\nshr     eax, 10h                                                       ; +0x66, 0x1005972b6\nmov     [rcx+4Ah], al                                                  ; +0x69, 0x1005972b9\npop     rbp                                                            ; +0x6c, 0x1005972bc\nretn                                                                   ; +0x6d, 0x1005972bd", "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"}