//
// cocos2d::extension::CCControlSaturationBrightnessPicker::updateDraggerWithHSV from 0x7a9298 to 0x7a9330 (152 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:01 +0000
//
int __fastcall cocos2d::extension::CCControlSaturationBrightnessPicker::updateDraggerWithHSV(
int a1,
int a2,
float a3,
float a4,
double a5,
double a6)
{
int v6; // s15
double v8; // d5
float v9; // s13
float v10; // s15
_BYTE v12[8]; // [sp+4h] [bp-8h] BYREF
float _C[11]; // [sp+Ch] [bp+0h] BYREF
v6 = *(_DWORD *)(a1 + 388);
_C[9] = a3;
_C[10] = a4;
v8 = (double)*(int *)(a1 + 392);
v9 = (float)((float)v6 + *(float *)(a1 + 380)) + v8 * (1.0 - a5);
v10 = (float)((float)v6 + *(float *)(a1 + 384)) + v8 * a6;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, v9, v10);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)_C, (const cocos2d::CCPoint *)v12);
return cocos2d::extension::CCControlSaturationBrightnessPicker::updateSliderPosition(a1, _C);
}