//
// cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder from 0x7fe818 to 0x7fe864 (76 bytes)
//
// 1 xrefs:
// > CCTextInputNode::init @ 0x3e2a2c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:01:18 +0000
//
cocos2d::CCTextFieldTTF *__fastcall cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder(
cocos2d::CCTextFieldTTF *this,
const char *a2,
const char *a3,
float a4)
{
cocos2d::CCTextFieldTTF *v7; // r4
v7 = (cocos2d::CCTextFieldTTF *)operator new(0x268u);
cocos2d::CCTextFieldTTF::CCTextFieldTTF(v7);
if ( cocos2d::CCLabelTTF::initWithString(v7, (const char *)&unk_B6B226, a2, (int)a3) )
{
cocos2d::CCObject::autorelease(v7);
if ( this )
(*(void (__fastcall **)(cocos2d::CCTextFieldTTF *, cocos2d::CCTextFieldTTF *))(*(_DWORD *)v7 + 644))(v7, this);
return v7;
}
else
{
(*(void (__fastcall **)(cocos2d::CCTextFieldTTF *))(*(_DWORD *)v7 + 8))(v7);
return nullptr;
}
}