//
// cocos2d::CCTextFieldTTF::CCTextFieldTTF from 0x1800b8b80 to 0x1800b8c78 (248 bytes)
//
// 4 xrefs:
// > cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder @ 0x1800b9e84
// > cocos2d::CCTextFieldTTF::textFieldWithPlaceHolder @ 0x1800b9f3b
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2d18
//
// 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 11:22:22 +0000
//
// Hidden C++ exception states: #wind=2
cocos2d::CCTextFieldTTF *__fastcall cocos2d::CCTextFieldTTF::CCTextFieldTTF(cocos2d::CCTextFieldTTF *this)
{
__int64 v2; // rax
__int64 v3; // rax
cocos2d::CCLabelTTF::CCLabelTTF(this);
cocos2d::CCIMEDelegate::CCIMEDelegate((cocos2d::CCTextFieldTTF *)((char *)this + 704));
*(_QWORD *)this = &cocos2d::CCTextFieldTTF::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::CCTextFieldTTF::`vftable'{for `cocos2d::CCRGBAProtocol'};
*((_QWORD *)this + 43) = &cocos2d::CCTextFieldTTF::`vftable'{for `cocos2d::CCSprite'};
*((_QWORD *)this + 75) = &cocos2d::CCTextFieldTTF::`vftable'{for `cocos2d::CCLabelProtocol'};
*((_QWORD *)this + 88) = &cocos2d::CCTextFieldTTF::`vftable';
*((_QWORD *)this + 89) = 0;
*((_DWORD *)this + 180) = 0;
v2 = sub_1800E4AC0(0x20u);
if ( v2 )
{
*(_OWORD *)v2 = 0;
*(_QWORD *)(v2 + 16) = 0;
*(_QWORD *)(v2 + 24) = 15;
*(_BYTE *)v2 = 0;
}
else
{
v2 = 0;
}
*((_QWORD *)this + 91) = v2;
v3 = sub_1800E4AC0(0x20u);
if ( v3 )
{
*(_OWORD *)v3 = 0;
*(_QWORD *)(v3 + 16) = 0;
*(_QWORD *)(v3 + 24) = 15;
*(_BYTE *)v3 = 0;
}
else
{
v3 = 0;
}
*((_QWORD *)this + 92) = v3;
*((_DWORD *)this + 186) = 8355711;
*((_DWORD *)this + 190) = 0;
*((_BYTE *)this + 764) = 0;
return this;
}