//
// AccountLoginLayer::createTextInput from 0x14007c6a0 to 0x14007c78f (239 bytes)
//
// 4 xrefs:
// > AccountLoginLayer::init @ 0x14007bdb9
// > AccountLoginLayer::init @ 0x14007bfb7
// > ??> @ 0x1406c67e0
// > ??> @ 0x1406c67ec
//
// 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 *AccountLoginLayer::createTextInput(
AccountLoginLayer *a1,
cocos2d::CCPoint a2,
cocos2d::CCSize a3,
const char *a4,
int a5)
{
CCTextInputNode *v7; // rsi
TextInputDelegate *v8; // rcx
CCTextInputNode_vtbl *v9; // rax
int v11; // [rsp+20h] [rbp-18h]
v7 = CCTextInputNode::create(
**(float **)&a3,
*(float *)(*(_QWORD *)&a3 + 4LL) + 10.0,
a4,
a4,
v11,
(const char *)&qword_14052A4D8);
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v7, 20);
v7->m_maxLabelScale = 0.80000001;
CCTextInputNode::refreshLabel(v7);
v8 = &a1->TextInputDelegate;
if ( !a1 )
v8 = nullptr;
v9 = v7->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v7->m_delegate = v8;
v9->setTag(v7, a5);
((void (__fastcall *)(CCTextInputNode *, cocos2d::CCPoint))v7->setPosition_0)(v7, a2);
v7->m_textField->setVisible(v7->m_textField, 0);
*(_WORD *)&v7->m_placeholderColor.r = -21896;
v7->m_placeholderColor.b = -16;
CCTextInputNode::refreshLabel(v7);
v7->m_placeholderScale = 0.5;
CCTextInputNode::refreshLabel(v7);
return v7;
}