//
// AccountLoginLayer::createTextInput from 0x850c0c to 0x850d10 (260 bytes)
//
// 3 xrefs:
// > AccountLoginLayer::init @ 0x851180
// > AccountLoginLayer::init @ 0x851294
// > ??> @ 0x9add0
//
// 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 *AccountLoginLayer::createTextInput(
AccountLoginLayer *a1,
cocos2d::CCPoint a2,
cocos2d::CCSize a3,
const char *a4,
int a5)
{
const char *v5; // x3
int v6; // w4
TextInputDelegate *v8; // x20
CCTextInputNode *v9; // x19
int v11; // [xsp+38h] [xbp+38h]
cocos2d::ccColor3B v12; // [xsp+48h] [xbp+48h]
v11 = v6;
v8 = &a1->TextInputDelegate;
v9 = CCTextInputNode::create(**(float **)&a5, *(float *)(*(_QWORD *)&a5 + 4LL) + 10.0, v5, "Thonburi");
(*((void (__fastcall **)(TextInputDelegate_vtbl *, CCTextInputNode *, __int64))v8[-7].textChanged + 56))(
v8[-7].__vftable,
v9,
20);
CCTextInputNode::setMaxLabelScale(v9, 0.8);
v9->m_delegate = v8;
v9->setTag(v9, v11);
v9->setPosition(v9, (const cocos2d::CCPoint *)a4);
v9->m_textField->setVisible(v9->m_textField, 0);
*(_WORD *)&v12.r = -21896;
v12.b = -16;
CCTextInputNode::setLabelPlaceholderColor(v9, v12);
CCTextInputNode::setLabelPlaceholderScale(v9, 0.5);
return v9;
}