//
// cocos2d::extension::CCControl::CCControl from 0x180003a70 to 0x180003b40 (208 bytes)
//
// 11 xrefs:
// > cocos2d::extension::CCControl::create @ 0x180003b58
// > cocos2d::extension::CCControlButton::CCControlButton @ 0x1800051a2
// > cocos2d::extension::CCControlColourPicker::CCControlColourPicker @ 0x180007e79
// > cocos2d::extension::CCControlHuePicker::CCControlHuePicker @ 0x180007f1d
// > cocos2d::extension::CCControlPotentiometer::CCControlPotentiometer @ 0x180008822
// > cocos2d::extension::CCControlSaturationBrightnessPicker::CCControlSaturationBrightnessPicker @ 0x180009322
// > cocos2d::extension::CCControlSlider::CCControlSlider @ 0x180009e29
// > cocos2d::extension::CCControlStepper::CCControlStepper @ 0x18000aca9
// > cocos2d::extension::CCControlSwitch::CCControlSwitch @ 0x18000c519
// > ??> @ 0x180032408
// > ??> @ 0x18004b2f4
//
// 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:35 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::extension::CCControl *__fastcall cocos2d::extension::CCControl::CCControl(cocos2d::extension::CCControl *this)
{
__int64 v2; // rax
cocos2d::CCLayerRGBA::CCLayerRGBA(this);
*(_QWORD *)this = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCTouchDelegate'};
*((_QWORD *)this + 41) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCAccelerometerDelegate'};
*((_QWORD *)this + 42) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCKeypadDelegate'};
*((_QWORD *)this + 43) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCKeyboardDelegate'};
*((_QWORD *)this + 44) = &cocos2d::extension::CCControl::`vftable'{for `cocos2d::CCMouseDelegate'};
*((_QWORD *)this + 51) = &cocos2d::extension::CCControl::`vftable';
*((_BYTE *)this + 432) = 0;
*(_QWORD *)((char *)this + 436) = 1;
*((_QWORD *)this + 56) = 0;
*((_QWORD *)this + 57) = 0;
*((_QWORD *)this + 58) = 0;
v2 = sub_18001F040(0x28u);
*(_QWORD *)v2 = v2;
*(_QWORD *)(v2 + 8) = v2;
*(_QWORD *)(v2 + 16) = v2;
*(_WORD *)(v2 + 24) = 257;
*((_QWORD *)this + 57) = v2;
return this;
}