//
// cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder_1 from 0x10027c110 to 0x10027c18c (124 bytes)
//
// 1 xrefs:
// > CCTextInputNode::init @ 0x10009e19f
//
// 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
//
cocos2d::CCTextFieldTTF *__fastcall cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder_1(
const char *a1,
const char *a2,
float a3)
{
cocos2d::CCTextFieldTTF *v3; // rbx
v3 = (cocos2d::CCTextFieldTTF *)operator new(0x2F8u);
cocos2d::CCTextFieldTTF::CCTextFieldTTF((__int64)v3);
if ( cocos2d::CCLabelTTF::initWithString_2(v3, "", a2, a3) )
{
cocos2d::CCObject::autorelease(v3);
if ( a1 )
((void (__fastcall *)(cocos2d::CCTextFieldTTF *, const char *))v3->setColorSpaceHolder)(v3, a1);
}
else
{
((void (__fastcall *)(cocos2d::CCTextFieldTTF *))v3->~CCTextFieldTTF_0)(v3);
return nullptr;
}
return v3;
}