{"type": "func", "start": 4299284336, "end": 4299284531, "name": "ConfigureHSVWidget::onResetHSV", "pseudocode": "// \n// ConfigureHSVWidget::onResetHSV from 0x10041df70 to 0x10041e033 (195 bytes)\n// \n// 2 xrefs:\n// > ConfigureHSVWidget::init @ 0x10041d907\n// > ConfigureHSVWidget::init @ 0x10041d974\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:30:14 +0000\n// \n\nvoid __fastcall ConfigureHSVWidget::onResetHSV(__int64 a1, double a2, double a3, double a4)\n{\n  __int64 v4; // rax\n  double updated; // xmm0_8\n  int v7; // eax\n  __int64 v8; // rdi\n  int v9; // [rsp+0h] [rbp-Ch] BYREF\n\n  v9 = HIDWORD(v4);\n  *(_OWORD *)(a1 + 376) = xmmword_100BE3918;\n  Slider::setValue(*(_QWORD *)(a1 + 352), 0.5);\n  Slider::setValue(*(_QWORD *)(a1 + 360), 0.5);\n  Slider::setValue(*(_QWORD *)(a1 + 368), 0.5);\n  updated = ConfigureHSVWidget::updateLabels(a1, 0.5, a3, a4);\n  if ( *(_BYTE *)(a1 + 448) == 1 && *(_QWORD *)(a1 + 440) )\n  {\n    updated = *(double *)(a1 + 376);\n    v7 = GameToolbox::transformColor_1(a1 + 424, *(_QWORD *)(a1 + 384), updated);\n    LOWORD(v9) = v7;\n    BYTE2(v9) = BYTE2(v7);\n    (*(void (__fastcall **)(_QWORD, int *))(**(_QWORD **)(a1 + 440) + 960LL))(*(_QWORD *)(a1 + 440), &v9);\n  }\n  v8 = *(_QWORD *)(a1 + 400);\n  if ( v8 )\n    (*(void (__fastcall **)(__int64, __int64, double))(*(_QWORD *)v8 + 8LL))(v8, a1, updated);\n}", "assembly": "; \n; ConfigureHSVWidget::onResetHSV from 0x10041df70 to 0x10041e033 (195 bytes)\n; \n; 2 xrefs:\n; > ConfigureHSVWidget::init @ 0x10041d907\n; > ConfigureHSVWidget::init @ 0x10041d974\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:30:14 +0000\n; \npush    rbp                                                            ; +0x0, 0x10041df70\nmov     rbp, rsp                                                       ; +0x1, 0x10041df71\npush    rbx                                                            ; +0x4, 0x10041df74\npush    rax                                                            ; +0x5, 0x10041df75\nmov     rbx, rdi                                                       ; +0x6, 0x10041df76\nmovups  xmm0, cs:xmmword_100BE3918                                     ; +0x9, 0x10041df79\nmovups  xmmword ptr [rdi+178h], xmm0                                   ; +0x10, 0x10041df80\nmov     rdi, [rdi+160h]                                                ; +0x17, 0x10041df87\nmovss   xmm0, cs:dword_100A03578                                       ; +0x1e, 0x10041df8e\ncall    Slider__setValue                                               ; +0x26, 0x10041df96\nmov     rdi, [rbx+168h]                                                ; +0x2b, 0x10041df9b\nmovss   xmm0, cs:dword_100A03578                                       ; +0x32, 0x10041dfa2\ncall    Slider__setValue                                               ; +0x3a, 0x10041dfaa\nmov     rdi, [rbx+170h]                                                ; +0x3f, 0x10041dfaf\nmovss   xmm0, cs:dword_100A03578                                       ; +0x46, 0x10041dfb6\ncall    Slider__setValue                                               ; +0x4e, 0x10041dfbe\nmov     rdi, rbx                                                       ; +0x53, 0x10041dfc3\ncall    ConfigureHSVWidget__updateLabels                               ; +0x56, 0x10041dfc6\ncmp     byte ptr [rbx+1C0h], 1                                         ; +0x5b, 0x10041dfcb\njnz     short loc_10041E017                                            ; +0x62, 0x10041dfd2\ncmp     qword ptr [rbx+1B8h], 0                                        ; +0x64, 0x10041dfd4\njz      short loc_10041E017                                            ; +0x6c, 0x10041dfdc\nlea     rdi, [rbx+1A8h]                                                ; +0x6e, 0x10041dfde\nmovsd   xmm0, qword ptr [rbx+178h]                                     ; +0x75, 0x10041dfe5\nmov     rsi, [rbx+180h]                                                ; +0x7d, 0x10041dfed\ncall    GameToolbox__transformColor_1                                  ; +0x84, 0x10041dff4\nmov     [rbp+var_C], ax                                                ; +0x89, 0x10041dff9\nshr     eax, 10h                                                       ; +0x8d, 0x10041dffd\nmov     [rbp+var_A], al                                                ; +0x90, 0x10041e000\nmov     rdi, [rbx+1B8h]                                                ; +0x93, 0x10041e003\nmov     rax, [rdi]                                                     ; +0x9a, 0x10041e00a\nlea     rsi, [rbp+var_C]                                               ; +0x9d, 0x10041e00d\ncall    qword ptr [rax+3C0h]                                           ; +0xa1, 0x10041e011\nmov     rdi, [rbx+190h]                                                ; +0xa7, 0x10041e017\ntest    rdi, rdi                                                       ; +0xae, 0x10041e01e\njz      short loc_10041E02C                                            ; +0xb1, 0x10041e021\nmov     rax, [rdi]                                                     ; +0xb3, 0x10041e023\nmov     rsi, rbx                                                       ; +0xb6, 0x10041e026\ncall    qword ptr [rax+8]                                              ; +0xb9, 0x10041e029\nadd     rsp, 8                                                         ; +0xbc, 0x10041e02c\npop     rbx                                                            ; +0xc0, 0x10041e030\npop     rbp                                                            ; +0xc1, 0x10041e031\nretn                                                                   ; +0xc2, 0x10041e032", "xrefs": ["ConfigureHSVWidget::init @ 0x10041d907", "ConfigureHSVWidget::init @ 0x10041d974"], "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"}