//
// cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder from 0x10027bf00 to 0x10027bf90 (144 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
//
cocos2d::CCTextFieldTTF *__fastcall cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder(
const char *a1,
const cocos2d::CCSize *a2,
cocos2d::CCTextAlignment a3,
const char *a4,
float a5)
{
cocos2d::CCTextFieldTTF *v7; // rbx
v7 = (cocos2d::CCTextFieldTTF *)operator new(0x2F8u);
cocos2d::CCTextFieldTTF::CCTextFieldTTF((__int64)v7);
if ( cocos2d::CCTextFieldTTF::initWithPlaceHolder(v7, "", a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease(v7);
if ( a1 )
((void (__fastcall *)(cocos2d::CCTextFieldTTF *, const char *))v7->setColorSpaceHolder)(v7, a1);
}
else
{
((void (__fastcall *)(cocos2d::CCTextFieldTTF *))v7->~CCTextFieldTTF_0)(v7);
return nullptr;
}
return v7;
}