{"type": "func", "start": 4303388688, "end": 4303388892, "name": "ColorSelectPopup::updateHSVValue", "pseudocode": "// \n// ColorSelectPopup::updateHSVValue from 0x100808010 to 0x1008080dc (204 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:36:40 +0000\n// \n\n_QWORD *__fastcall ColorSelectPopup::updateHSVValue(_QWORD *a1)\n{\n  _QWORD *result; // rax\n  __int64 v3; // rcx\n  __int64 v4; // rdi\n  unsigned int v5; // r14d\n  __int64 v6; // rax\n  __int64 v7; // rcx\n  __int64 v8; // rcx\n\n  result = (_QWORD *)a1[85];\n  if ( result )\n  {\n    v3 = a1[150];\n    *(_QWORD *)((char *)result + 1612) = a1[149];\n    *(_QWORD *)((char *)result + 1620) = v3;\n  }\n  else\n  {\n    v4 = a1[86];\n    if ( v4 )\n    {\n      result = (_QWORD *)sub_1007FEF90(v4);\n      if ( (_DWORD)result )\n      {\n        v5 = 0;\n        do\n        {\n          v6 = sub_1007FEFE0(a1[86], v5);\n          v7 = a1[150];\n          *(_QWORD *)(v6 + 1612) = a1[149];\n          *(_QWORD *)(v6 + 1620) = v7;\n          ++v5;\n          result = (_QWORD *)sub_1007FEF90(a1[86]);\n        }\n        while ( v5 < (unsigned int)result );\n      }\n    }\n    else\n    {\n      result = (_QWORD *)a1[143];\n      if ( result )\n      {\n        v8 = a1[150];\n        result[13] = a1[149];\n        result[14] = v8;\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; ColorSelectPopup::updateHSVValue from 0x100808010 to 0x1008080dc (204 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:36:40 +0000\n; \npush    rbp                                                            ; +0x0, 0x100808010\nmov     rbp, rsp                                                       ; +0x1, 0x100808011\npush    r14                                                            ; +0x4, 0x100808014\npush    rbx                                                            ; +0x6, 0x100808016\nmov     rbx, rdi                                                       ; +0x7, 0x100808017\nmov     rax, [rdi+2A8h]                                                ; +0xa, 0x10080801a\ntest    rax, rax                                                       ; +0x11, 0x100808021\njz      short loc_100808049                                            ; +0x14, 0x100808024\nmovsd   xmm0, qword ptr [rbx+4A8h]                                     ; +0x16, 0x100808026\nmov     rcx, [rbx+4B0h]                                                ; +0x1e, 0x10080802e\nmovsd   qword ptr [rax+64Ch], xmm0                                     ; +0x25, 0x100808035\nmov     [rax+654h], rcx                                                ; +0x2d, 0x10080803d\npop     rbx                                                            ; +0x34, 0x100808044\npop     r14                                                            ; +0x35, 0x100808045\npop     rbp                                                            ; +0x37, 0x100808047\nretn                                                                   ; +0x38, 0x100808048\nmov     rdi, [rbx+2B0h]                                                ; +0x39, 0x100808049\ntest    rdi, rdi                                                       ; +0x40, 0x100808050\njz      short loc_1008080B3                                            ; +0x43, 0x100808053\ncall    sub_1007FEF90                                                  ; +0x45, 0x100808055\ntest    eax, eax                                                       ; +0x4a, 0x10080805a\njz      short loc_100808044                                            ; +0x4c, 0x10080805c\nxor     r14d, r14d                                                     ; +0x4e, 0x10080805e\nnop     word ptr [rax+rax+00000000h]                                   ; +0x51, 0x100808061\nmov     rdi, [rbx+2B0h]                                                ; +0x60, 0x100808070\nmov     esi, r14d                                                      ; +0x67, 0x100808077\ncall    sub_1007FEFE0                                                  ; +0x6a, 0x10080807a\nmovsd   xmm0, qword ptr [rbx+4A8h]                                     ; +0x6f, 0x10080807f\nmov     rcx, [rbx+4B0h]                                                ; +0x77, 0x100808087\nmovsd   qword ptr [rax+64Ch], xmm0                                     ; +0x7e, 0x10080808e\nmov     [rax+654h], rcx                                                ; +0x86, 0x100808096\ninc     r14d                                                           ; +0x8d, 0x10080809d\nmov     rdi, [rbx+2B0h]                                                ; +0x90, 0x1008080a0\ncall    sub_1007FEF90                                                  ; +0x97, 0x1008080a7\ncmp     r14d, eax                                                      ; +0x9c, 0x1008080ac\njb      short loc_100808070                                            ; +0x9f, 0x1008080af\njmp     short loc_100808044                                            ; +0xa1, 0x1008080b1\nmov     rax, [rbx+478h]                                                ; +0xa3, 0x1008080b3\ntest    rax, rax                                                       ; +0xaa, 0x1008080ba\njz      short loc_100808044                                            ; +0xad, 0x1008080bd\nmovsd   xmm0, qword ptr [rbx+4A8h]                                     ; +0xaf, 0x1008080bf\nmov     rcx, [rbx+4B0h]                                                ; +0xb7, 0x1008080c7\nmovsd   qword ptr [rax+68h], xmm0                                      ; +0xbe, 0x1008080ce\nmov     [rax+70h], rcx                                                 ; +0xc3, 0x1008080d3\npop     rbx                                                            ; +0xc7, 0x1008080d7\npop     r14                                                            ; +0xc8, 0x1008080d8\npop     rbp                                                            ; +0xca, 0x1008080da\nretn                                                                   ; +0xcb, 0x1008080db", "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"}