//
// cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder from 0x100268500 to 0x100268590 (144 bytes)
//
// 0 xrefs:
//
// 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(
__int64 a1,
__int64 a2,
unsigned int a3,
__int64 a4,
float a5)
{
void *v7; // rbx
v7 = operator new(0x2F8u);
cocos2d::CCTextFieldTTF::CCTextFieldTTF((__int64)v7);
if ( (unsigned __int8)cocos2d::CCTextFieldTTF::initWithPlaceHolder(v7, "", a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease(v7);
if ( a1 )
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v7 + 1288LL))(v7, a1);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v7 + 16LL))(v7);
return nullptr;
}
return v7;
}