//
// ConfigureHSVWidget::createTextInputNode from 0xa3a9f0 to 0xa3ac74 (644 bytes)
//
// 4 xrefs:
// > ConfigureHSVWidget::init @ 0xa3ba74
// > ConfigureHSVWidget::init @ 0xa3bac0
// > ConfigureHSVWidget::init @ 0xa3bb10
// > ??> @ 0xd88b0
//
// 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::createTextInputNode(cocos2d::CCDictionary **a1, __int64 a2, unsigned int a3)
{
__int64 v6; // x20
void (__fastcall *v7)(__int64, _QWORD *); // x24
const char *v8; // x4
__int64 v9; // x19
__int64 v10; // x0
__int64 (__fastcall *v11)(__int64); // x1
void (__fastcall *v12)(__int64, __int64); // x20
__int64 v13; // x0
_BYTE v15[8]; // [xsp+70h] [xbp+70h] BYREF
_BYTE v16[8]; // [xsp+78h] [xbp+78h] BYREF
_QWORD v17[2]; // [xsp+80h] [xbp+80h] BYREF
__int64 v18[2]; // [xsp+90h] [xbp+90h] BYREF
void *v19; // [xsp+A0h] [xbp+A0h]
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v17, 0.0, 0.0, 40.0, 40.0);
v6 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v17);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 912LL))(v6, 100);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v15, 60.0, 30.0);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v6 + 320LL))(v6, v15);
(*((void (__fastcall **)(cocos2d::CCDictionary **, __int64, __int64))*a1 + 58))(a1, v6, 0xFFFFFFFFLL);
v7 = *(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v6 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 50.0, 0.0);
cocos2d::CCPoint::operator+(v17, a2);
v7(v6, v17);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 160LL))(v6, 0.6);
v9 = CCTextInputNode::create(
(CCTextInputNode *)"Num",
30.0,
24.0,
"Thonburi",
(const char *)&off_18,
"bigFont.fnt",
v8);
(*((void (__fastcall **)(cocos2d::CCDictionary **, __int64, __int64))*a1 + 58))(a1, v9, 20);
v10 = v6;
v11 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 192LL);
v12 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 184LL);
v13 = v11(v10);
v12(v9, v13);
CCTextInputNode::setMaxLabelScale((CCTextInputNode *)v9, 0.36);
CCTextInputNode::setMaxLabelWidth((CCTextInputNode *)v9, 60.0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v9 + 576) + 344LL))(*(_QWORD *)(v9 + 576), 0);
v18[0] = 0;
*(_DWORD *)(v9 + 700) = 1;
*(_DWORD *)(v9 + 592) = 5;
v18[1] = 0;
v19 = nullptr;
std::string::__init(v18, "0123456789.-", 0xCu);
CCTextInputNode::setAllowedChars(v9, (__int64)v18);
if ( (v18[0] & 1) != 0 )
operator delete(v19);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v9 + 72LL))(v9, a3);
*(_QWORD *)(v9 + 584) = a1 + 40;
*(_BYTE *)(v9 + 424) = 1;
cocos2d::CCDictionary::setObject(a1[52], (cocos2d::CCObject *)v9, (int)a3);
return _stack_chk_guard;
}