//
// cocos2d::CCTextFieldTTF::dCCTextFieldTTF from 0x1002683b0 to 0x10026847c (204 bytes)
//
// 4 xrefs:
// > sub_100268480 @ 0x100268485
// > sub_100268490 @ 0x10026849c
// > sub_1002684B0 @ 0x1002684b9
// > sub_1002684D0 @ 0x1002684e3
//
// 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
//
__int64 __fastcall cocos2d::CCTextFieldTTF::dCCTextFieldTTF(_QWORD *a1)
{
void **v1; // r14
void **v2; // r15
*a1 = off_100AF6838;
a1[40] = off_100AF6DA0;
a1[43] = off_100AF6E20;
a1[75] = off_100AF6E50;
a1[87] = off_100AF6E70;
v1 = (void **)a1[90];
if ( v1 )
{
if ( (*(_BYTE *)v1 & 1) != 0 )
operator delete(v1[2]);
operator delete(v1);
a1[90] = 0;
}
v2 = (void **)a1[91];
if ( v2 )
{
if ( (*(_BYTE *)v2 & 1) != 0 )
operator delete(v2[2]);
operator delete(v2);
a1[91] = 0;
}
cocos2d::CCIMEDelegate::dCCIMEDelegate(a1 + 87);
return sub_1003A6640(a1);
}