//
// cocos2d::extension::CCControlButton::CCControlButton from 0x18001b320 to 0x18001b498 (376 bytes)
//
// 3 xrefs:
// > cocos2d::extension::CCEditBox::CCEditBox @ 0x18001cc4a
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004adc4
//
// 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
//
// 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;
}