//
// ConfigureHSVWidget::textChanged from 0x100124fe0 to 0x100125154 (372 bytes)
//
// 2 xrefs:
// > sub_100125174 @ 0x100125178
// > ??> @ 0x1008d5f10
//
// 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 10:59:17 +0000
//
void __fastcall ConfigureHSVWidget::textChanged(__int64 a1, __int64 a2)
{
int v3; // w0
int v4; // w20
void **v5; // x0
double v6; // d0
__int64 v7; // x0
float v8; // s8
void **v9; // x0
double v10; // d0
__int64 v11; // x0
float v12; // s8
void *v13; // x21
int v14; // w8
void *__p[2]; // [xsp+8h] [xbp-48h] BYREF
char v16; // [xsp+1Fh] [xbp-31h]
if ( (*(_BYTE *)(a1 + 409) & 1) == 0 )
{
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
switch ( v3 )
{
case 3:
CCTextInputNode::getString(__p);
if ( v16 >= 0 )
v9 = __p;
else
v9 = (void **)__p[0];
v10 = atof((const char *)v9);
v11 = sub_1003065B0("%.2f", v10);
v12 = cocos2d::CCString::floatValue(v11);
if ( v16 < 0 )
operator delete(__p[0]);
*(float *)(a1 + 384) = v12;
break;
case 2:
CCTextInputNode::getString(__p);
if ( v16 >= 0 )
v5 = __p;
else
v5 = (void **)__p[0];
v6 = atof((const char *)v5);
v7 = sub_1003065B0("%.2f", v6);
v8 = cocos2d::CCString::floatValue(v7);
if ( v16 < 0 )
operator delete(__p[0]);
*(float *)(a1 + 380) = v8;
break;
case 1:
CCTextInputNode::getString(__p);
if ( v16 < 0 )
{
v13 = __p[0];
v4 = atoi((const char *)__p[0]);
operator delete(v13);
}
else
{
v4 = atoi((const char *)__p);
}
if ( v4 <= -360 )
v14 = -360;
else
v14 = v4;
if ( v14 >= 360 )
v14 = 360;
*(float *)(a1 + 376) = (float)v14;
break;
}
sub_100124D6C(a1);
}
}