//
// ConfigureHSVWidget::onResetHSV from 0x140130de0 to 0x140130e64 (132 bytes)
//
// 3 xrefs:
// > ConfigureHSVWidget::init @ 0x140130376
// > ConfigureHSVWidget::init @ 0x1401303ef
// > ??> @ 0x140916ea4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:27:03 +0000
//
__int64 __fastcall ConfigureHSVWidget::onResetHSV(__int64 a1)
{
__int64 result; // rax
__int64 v3; // rcx
*(_OWORD *)(a1 + 376) = unk_1408FE400;
Slider::setValue(*(_QWORD *)(a1 + 352), 0.5);
Slider::setValue(*(_QWORD *)(a1 + 360), 0.5);
Slider::setValue(*(_QWORD *)(a1 + 368), 0.5);
ConfigureHSVWidget::updateLabels(a1);
result = ConfigureHSVWidget::updateColorPreview(a1);
v3 = *(_QWORD *)(a1 + 400);
if ( v3 )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 8LL))(v3, a1);
return result;
}