//
// sub_100124500 from 0x100124500 to 0x10012471c (540 bytes)
//
// 3 xrefs:
// > ConfigureHSVWidget::init @ 0x100123e7c
// > ConfigureHSVWidget::init @ 0x100123fe4
// > ConfigureHSVWidget::init @ 0x100124150
//
// 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
//
__int64 __fastcall sub_100124500(_QWORD *a1, float32x2_t *a2, __int64 a3)
{
__int64 v6; // x21
double v7; // d0
__int64 v8; // x22
__int64 v9; // x0
void *__p[2]; // [xsp+8h] [xbp-68h] BYREF
char v12; // [xsp+1Fh] [xbp-51h]
float32x2_t v13; // [xsp+20h] [xbp-50h] BYREF
float32x2_t v14; // [xsp+28h] [xbp-48h] BYREF
float v15[4]; // [xsp+30h] [xbp-40h] BYREF
sub_1000262CC(v15, 0.0, 0.0, 40.0, 40.0);
v6 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v15);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 912LL))(v6, 100);
sub_1000262C4(v15, 60.0, 30.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v6 + 320LL))(v6, v15);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1 + 464LL))(a1, v6, 0xFFFFFFFFLL);
sub_1000262BC((float *)&v13, 50.0, 0.0);
*(float32x2_t *)&v7 = sub_100026318(a2, &v13, &v14);
(*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v6 + 184LL))(v6, &v14, v7);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 160LL))(v6, 0.6);
v8 = CCTextInputNode::create("Num", "Thonburi", 24, "bigFont.fnt", 30.0, 24.0);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1 + 464LL))(a1, v8, 20);
v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 192LL))(v6);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 184LL))(v8, v9);
CCTextInputNode::setMaxLabelScale(v8, 0.36);
CCTextInputNode::setMaxLabelWidth(v8, 60.0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v8 + 576) + 344LL))(*(_QWORD *)(v8 + 576), 0);
*(_DWORD *)(v8 + 592) = 5;
*(_DWORD *)(v8 + 700) = 1;
sub_100009900(__p, "0123456789.-");
CCTextInputNode::setAllowedChars(v8, __p);
if ( v12 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 72LL))(v8, a3);
*(_QWORD *)(v8 + 584) = a1 + 40;
*(_BYTE *)(v8 + 424) = 1;
return cocos2d::CCDictionary::setObject_1(a1[52], v8, (int)a3);
}