//
// cocos2d::extension::CCControlButton::CCControlButton from 0x18001b040 to 0x18001b1b8 (376 bytes)
//
// 3 xrefs:
// > cocos2d::extension::CCEditBox::CCEditBox @ 0x18001c99a
// > ??> @ 0x180032408
// > ??> @ 0x18004cd10
//
// 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=1
cocos2d::extension::CCControlButton *__fastcall cocos2d::extension::CCControlButton::CCControlButton(
cocos2d::extension::CCControlButton *this,
const struct cocos2d::extension::CCControlButton *a2)
{
cocos2d::extension::CCControl::CCControl(this, a2);
*(_QWORD *)this = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCTouchDelegate'};
*((_QWORD *)this + 41) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCAccelerometerDelegate'};
*((_QWORD *)this + 42) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCKeypadDelegate'};
*((_QWORD *)this + 43) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCKeyboardDelegate'};
*((_QWORD *)this + 44) = &cocos2d::extension::CCControlButton::`vftable'{for `cocos2d::CCMouseDelegate'};
*((_QWORD *)this + 51) = &cocos2d::extension::CCControlButton::`vftable';
*((_QWORD *)this + 59) = *((_QWORD *)a2 + 59);
*((_WORD *)this + 240) = *((_WORD *)a2 + 240);
*((_BYTE *)this + 482) = *((_BYTE *)a2 + 482);
*((_BYTE *)this + 483) = *((_BYTE *)a2 + 483);
*((_QWORD *)this + 61) = *((_QWORD *)a2 + 61);
*((_QWORD *)this + 62) = *((_QWORD *)a2 + 62);
cocos2d::CCSize::CCSize(
(cocos2d::extension::CCControlButton *)((char *)this + 504),
(const struct cocos2d::extension::CCControlButton *)((char *)a2 + 504));
*((_BYTE *)this + 512) = *((_BYTE *)a2 + 512);
cocos2d::CCPoint::CCPoint(
(cocos2d::extension::CCControlButton *)((char *)this + 516),
(const struct cocos2d::extension::CCControlButton *)((char *)a2 + 516));
*((_BYTE *)this + 524) = *((_BYTE *)a2 + 524);
*((_BYTE *)this + 525) = *((_BYTE *)a2 + 525);
*((_QWORD *)this + 66) = *((_QWORD *)a2 + 66);
*((_QWORD *)this + 67) = *((_QWORD *)a2 + 67);
*((_QWORD *)this + 68) = *((_QWORD *)a2 + 68);
*((_QWORD *)this + 69) = *((_QWORD *)a2 + 69);
*((_DWORD *)this + 140) = *((_DWORD *)a2 + 140);
*((_DWORD *)this + 141) = *((_DWORD *)a2 + 141);
return this;
}