//
// cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder from 0x1001cb1a8 to 0x1001cb244 (156 bytes)
//
// 1 xrefs:
// > CCTextInputNode::init @ 0x10016c8f4
//
// 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(
const char *a1,
const char *a2,
float a3)
{
cocos2d::CCTextFieldTTF *v6; // x19
v6 = (cocos2d::CCTextFieldTTF *)operator new(0x2F8u);
cocos2d::CCTextFieldTTF::CCTextFieldTTF((__int64)v6);
if ( cocos2d::CCLabelTTF::initWithString_1(v6, "", a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
if ( a1 )
((void (__fastcall *)(cocos2d::CCTextFieldTTF *, const char *))v6->setColorSpaceHolder)(v6, a1);
}
else
{
((void (__fastcall *)(cocos2d::CCTextFieldTTF *))v6->~CCTextFieldTTF_0)(v6);
return nullptr;
}
return v6;
}