//
// cocos2d::extension::CCEditBox::CCEditBox from 0x18001c980 to 0x18001cb35 (437 bytes)
//
// 2 xrefs:
// > ??> @ 0x180032408
// > ??> @ 0x18004ce9c
//
// 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:15:43 +0000
//
// Hidden C++ exception states: #wind=5
cocos2d::extension::CCEditBox *__fastcall cocos2d::extension::CCEditBox::CCEditBox(
cocos2d::extension::CCEditBox *this,
const struct cocos2d::extension::CCEditBox *a2)
{
cocos2d::extension::CCControlButton::CCControlButton(this, a2);
cocos2d::CCIMEDelegate::CCIMEDelegate(
(cocos2d::extension::CCEditBox *)((char *)this + 568),
(const struct cocos2d::extension::CCEditBox *)((char *)a2 + 568));
*(_QWORD *)this = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCTouchDelegate'};
*((_QWORD *)this + 41) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCAccelerometerDelegate'};
*((_QWORD *)this + 42) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCKeypadDelegate'};
*((_QWORD *)this + 43) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCKeyboardDelegate'};
*((_QWORD *)this + 44) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCMouseDelegate'};
*((_QWORD *)this + 51) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::extension::CCControlButton'};
*((_QWORD *)this + 71) = &cocos2d::extension::CCEditBox::`vftable'{for `cocos2d::CCIMEDelegate'};
*((_QWORD *)this + 72) = *((_QWORD *)a2 + 72);
*((_QWORD *)this + 73) = *((_QWORD *)a2 + 73);
*((_DWORD *)this + 148) = *((_DWORD *)a2 + 148);
*((_DWORD *)this + 149) = *((_DWORD *)a2 + 149);
*((_DWORD *)this + 150) = *((_DWORD *)a2 + 150);
sub_1800039B0((__int64)this + 608, (__int64)a2 + 608);
sub_1800039B0((__int64)this + 640, (__int64)a2 + 640);
sub_1800039B0((__int64)this + 672, (__int64)a2 + 672);
sub_1800039B0((__int64)this + 704, (__int64)a2 + 704);
*((_DWORD *)this + 184) = *((_DWORD *)a2 + 184);
*((_DWORD *)this + 185) = *((_DWORD *)a2 + 185);
*((_WORD *)this + 372) = *((_WORD *)a2 + 372);
*((_BYTE *)this + 746) = *((_BYTE *)a2 + 746);
*(_WORD *)((char *)this + 747) = *(_WORD *)((char *)a2 + 747);
*((_BYTE *)this + 749) = *((_BYTE *)a2 + 749);
*((_DWORD *)this + 188) = *((_DWORD *)a2 + 188);
*((_DWORD *)this + 189) = *((_DWORD *)a2 + 189);
*((_DWORD *)this + 190) = *((_DWORD *)a2 + 190);
return this;
}