//
// ConfigureHSVWidget::updateColorPreview from 0xa3a95c to 0xa3a9f0 (148 bytes)
//
// 3 xrefs:
// > ConfigureHSVWidget::sliderChanged @ 0xa3b144
// > ConfigureHSVWidget::onResetHSV @ 0xa3b32c
// > ??> @ 0xe50d8
//
// This function is hookable on this platform (idp: arm, 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 12:59:53 +0000
//
__int64 __fastcall ConfigureHSVWidget::updateColorPreview(ConfigureHSVWidget *this)
{
unsigned __int64 v2; // x0
__int64 v3; // x2
__int16 v5; // [xsp+20h] [xbp+20h] BYREF
char v6; // [xsp+22h] [xbp+22h]
if ( *((_BYTE *)this + 448) && *((_QWORD *)this + 55) )
{
v2 = GameToolbox::transformColor((unsigned __int8 *)this + 424, *((_QWORD *)this + 47), *((_QWORD *)this + 48));
v3 = *((_QWORD *)this + 55);
v5 = v2;
v6 = BYTE2(v2);
(*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v3 + 960LL))(v3, &v5);
}
return _stack_chk_guard;
}