//
// cocos2d::CCMenuItem::CCMenuItem from 0x1800caf50 to 0x1800cafd9 (137 bytes)
//
// 6 xrefs:
// > cocos2d::CCMenuItemImage::CCMenuItemImage @ 0x1800cb090
// > cocos2d::CCMenuItemLabel::CCMenuItemLabel @ 0x1800cb110
// > cocos2d::CCMenuItemSprite::CCMenuItemSprite @ 0x1800cb1a0
// > cocos2d::CCMenuItemToggle::CCMenuItemToggle @ 0x1800cb210
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c3cf0
//
// 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 11:22:28 +0000
//
cocos2d::CCMenuItem *__fastcall cocos2d::CCMenuItem::CCMenuItem(
cocos2d::CCMenuItem *this,
const struct cocos2d::CCMenuItem *a2)
{
cocos2d::CCNodeRGBA::CCNodeRGBA(this, a2);
*(_QWORD *)this = &cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCRGBAProtocol'};
*((_BYTE *)this + 344) = *((_BYTE *)a2 + 344);
*((_BYTE *)this + 345) = *((_BYTE *)a2 + 345);
*((_QWORD *)this + 44) = *((_QWORD *)a2 + 44);
*((_QWORD *)this + 45) = *((_QWORD *)a2 + 45);
*((_DWORD *)this + 92) = *((_DWORD *)a2 + 92);
*((_DWORD *)this + 93) = *((_DWORD *)a2 + 93);
return this;
}