//
// cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder from 0xda1400 to 0xda14a0 (160 bytes)
//
// 2 xrefs:
// > CCTextInputNode::init @ 0x6c2690
// > ??> @ 0xc0790
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:08:29 +0000
//
cocos2d::CCTextFieldTTF *__fastcall cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder(
cocos2d::CCTextFieldTTF *this,
char *a2,
const char *a3,
float a4)
{
cocos2d::CCTextFieldTTF *v5; // x19
v5 = (cocos2d::CCTextFieldTTF *)operator new(0x2F8u);
cocos2d::CCTextFieldTTF::CCTextFieldTTF(v5);
if ( (unsigned __int8)cocos2d::CCLabelTTF::initWithString(v5, &byte_11B8890, a2, a4) )
{
cocos2d::CCObject::autorelease(v5);
if ( this )
(*(void (__fastcall **)(cocos2d::CCTextFieldTTF *, cocos2d::CCTextFieldTTF *))(*(_QWORD *)v5 + 1288LL))(v5, this);
return v5;
}
else
{
(*(void (__fastcall **)(cocos2d::CCTextFieldTTF *))(*(_QWORD *)v5 + 16LL))(v5);
return nullptr;
}
}