//
// cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder from 0x100262f28 to 0x100262fc4 (156 bytes)
//
// 1 xrefs:
// > CCTextInputNode::init @ 0x1001faed4
//
// 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 11:01:39 +0000
//
void *__fastcall cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder(__int64 a1, char *a2, float a3)
{
void *v6; // x19
v6 = operator new(0x2F8u);
cocos2d::CCTextFieldTTF::CCTextFieldTTF((__int64)v6);
if ( (unsigned int)cocos2d::CCLabelTTF::initWithString_1((__int64)v6, (__int64)"", a2, a3) )
{
cocos2d::CCObject::autorelease((__int64)v6);
if ( a1 )
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v6 + 1288LL))(v6, a1);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return v6;
}