//
// AccountLoginLayer::createTextInput from 0x100083d70 to 0x100083e58 (232 bytes)
//
// 2 xrefs:
// > AccountLoginLayer::init @ 0x10008350c
// > AccountLoginLayer::init @ 0x100083644
//
// 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
//
// local variable allocation has failed, the output may be wrong!
CCTextInputNode *__fastcall AccountLoginLayer::createTextInput(
AccountLoginLayer *a1,
cocos2d::CCPoint a2,
cocos2d::CCSize a3,
const char *a4,
int a5)
{
const char *v5; // x3
__int64 v6; // x4
__int64 v7; // x19
CCTextInputNode *v10; // x22
v7 = v6;
v10 = CCTextInputNode::create(
**(float **)&a5,
*(float *)(*(_QWORD *)&a5 + 4LL) + 10.0,
v5,
"Thonburi",
24,
"bigFont.fnt");
((void (__fastcall *)(cocos2d::CCLayer *, CCTextInputNode *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
v10,
20);
CCTextInputNode::setMaxLabelScale(v10, 0.8);
v10->m_delegate = &a1->TextInputDelegate;
((void (__fastcall *)(CCTextInputNode *, __int64))v10->setTag)(v10, v7);
((void (__fastcall *)(CCTextInputNode *, const char *))v10->setPosition)(v10, a4);
((void (__fastcall *)(cocos2d::CCTextFieldTTF *, _QWORD))v10->m_textField->setVisible)(v10->m_textField, 0);
CCTextInputNode::setLabelPlaceholderColor(v10, (cocos2d::ccColor3B)-1004936);
CCTextInputNode::setLabelPlaceholderScale(v10, 0.5);
return v10;
}