//
// cocos2d::CCTextFieldTTF::dCCTextFieldTTF from 0x1001cb0d4 to 0x1001cb170 (156 bytes)
//
// 4 xrefs:
// > j_cocos2d::CCTextFieldTTF::dCCTextFieldTTF @ 0x1001cb170
// > sub_1001CB174 @ 0x1001cb178
// > sub_1001CB17C @ 0x1001cb184
// > sub_1001CB190 @ 0x1001cb19c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall cocos2d::CCTextFieldTTF::dCCTextFieldTTF(_QWORD *a1)
{
__int64 v2; // x20
__int64 v3; // x20
*a1 = off_1007B9B98;
a1[40] = off_1007BA0F0;
a1[43] = off_1007BA170;
a1[75] = off_1007BA1A0;
a1[87] = off_1007BA1C0;
v2 = a1[90];
if ( v2 )
{
if ( *(char *)(v2 + 23) < 0 )
operator delete(*(void **)v2);
operator delete((void *)v2);
a1[90] = 0;
}
v3 = a1[91];
if ( v3 )
{
if ( *(char *)(v3 + 23) < 0 )
operator delete(*(void **)v3);
operator delete((void *)v3);
a1[91] = 0;
}
cocos2d::CCIMEDelegate::dCCIMEDelegate(a1 + 87);
return cocos2d::CCLabelTTF::dCCLabelTTF((__int64)a1);
}