//
// cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder from 0x7fe974 to 0x7fe9d0 (92 bytes)
//
// 0 xrefs:
//
// 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(
int a1,
float *a2,
int a3,
const char *a4,
int a5)
{
cocos2d::CCTextFieldTTF *v9; // r4
v9 = (cocos2d::CCTextFieldTTF *)operator new(0x268u);
cocos2d::CCTextFieldTTF::CCTextFieldTTF(v9);
if ( cocos2d::CCTextFieldTTF::initWithPlaceHolder((int)v9, (const char *)&unk_B6B226, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease(v9);
if ( a1 )
(*(void (__fastcall **)(cocos2d::CCTextFieldTTF *, int))(*(_DWORD *)v9 + 644))(v9, a1);
return v9;
}
else
{
(*(void (__fastcall **)(cocos2d::CCTextFieldTTF *))(*(_DWORD *)v9 + 8))(v9);
return nullptr;
}
}