//
// AccountLoginLayer::createTextInput from 0x10049a080 to 0x10049a153 (211 bytes)
//
// 0 xrefs:
//
// 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; // rcx
unsigned int v6; // r8d
unsigned int v7; // r15d
CCTextInputNode *v8; // rbx
v7 = v6;
v8 = 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,
v8,
20);
CCTextInputNode::setMaxLabelScale(v8, 0.80000001);
v8->m_delegate = &a1->TextInputDelegate;
((void (__fastcall *)(CCTextInputNode *, _QWORD))v8->setTag)(v8, v7);
((void (__fastcall *)(CCTextInputNode *, const char *))v8->setPosition)(v8, a4);
((void (__fastcall *)(cocos2d::CCTextFieldTTF *, _QWORD))v8->m_textField->setVisible)(v8->m_textField, 0);
CCTextInputNode::setLabelPlaceholderColor(v8, (cocos2d::ccColor3B)-1004936);
CCTextInputNode::setLabelPlaceholderScale(v8, 0.5);
return v8;
}