//
// cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder_1 from 0x100268710 to 0x10026878c (124 bytes)
//
// 1 xrefs:
// > CCTextInputNode::init @ 0x100065a60
//
// This function is hookable on this platform (idp: pc, 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 12:27:34 +0000
//
void *__fastcall cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder_1(__int64 a1, __int64 a2, float a3)
{
void *v3; // rbx
v3 = operator new(0x2F8u);
cocos2d::CCTextFieldTTF::CCTextFieldTTF((__int64)v3);
if ( (unsigned __int8)cocos2d::CCLabelTTF::initWithString_2(v3, "", a2, a3) )
{
cocos2d::CCObject::autorelease(v3);
if ( a1 )
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v3 + 1288LL))(v3, a1);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v3 + 16LL))(v3);
return nullptr;
}
return v3;
}