//
// AccountRegisterLayer::createTextInput from 0x84e1d0 to 0x84e2dc (268 bytes)
//
// 6 xrefs:
// > AccountRegisterLayer::init @ 0x84e6e4
// > AccountRegisterLayer::init @ 0x84e83c
// > AccountRegisterLayer::init @ 0x84e994
// > AccountRegisterLayer::init @ 0x84eafc
// > AccountRegisterLayer::init @ 0x84ec4c
// > ??> @ 0x2f610
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
CCTextInputNode *__fastcall AccountRegisterLayer::createTextInput(
TextInputDelegate *a1,
const cocos2d::CCPoint *a2,
float *a3,
const char **a4,
int a5)
{
TextInputDelegate *v6; // x20
CCTextInputNode *v7; // x19
cocos2d::ccColor3B v10; // [xsp+48h] [xbp+48h]
v6 = a1 + 79;
v7 = CCTextInputNode::create(*a3 - 20.0, a3[1] + 10.0, *a4, "Thonburi");
(*((void (__fastcall **)(TextInputDelegate_vtbl *, CCTextInputNode *, __int64))v6[-7].textChanged + 56))(
v6[-7].__vftable,
v7,
20);
CCTextInputNode::setMaxLabelScale(v7, 0.8);
v7->m_delegate = v6;
v7->setTag(v7, a5);
v7->setPosition(v7, a2);
v7->m_textField->setVisible(v7->m_textField, 0);
*(_WORD *)&v10.r = -21896;
v10.b = -16;
CCTextInputNode::setLabelPlaceholderColor(v7, v10);
CCTextInputNode::setLabelPlaceholderScale(v7, 0.5);
return v7;
}