//
// cocos2d::CCMenuItem::create from 0xd66520 to 0xd665ac (140 bytes)
//
// 2 xrefs:
// > cocos2d::CCMenuItem::create @ 0xd665c0
// > ??> @ 0x65f08
//
// This function is hookable on this platform (idp: arm, 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 13:07:54 +0000
//
__int64 __fastcall cocos2d::CCMenuItem::create(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // x19
v4 = operator new(0x178u);
cocos2d::CCNodeRGBA::CCNodeRGBA((cocos2d::CCNodeRGBA *)v4);
*(_BYTE *)(v4 + 338) = 0;
*(_BYTE *)(v4 + 339) = 0;
*(_QWORD *)v4 = &off_1525040;
*(_QWORD *)(v4 + 320) = &off_1525480;
*(_QWORD *)(v4 + 344) = 0;
*(_QWORD *)(v4 + 352) = 0;
*(_QWORD *)(v4 + 360) = 0;
*(_DWORD *)(v4 + 368) = 0;
*(_DWORD *)(v4 + 372) = 0;
cocos2d::CCMenuItem::initWithTarget(v4, a1, a2, a3);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return v4;
}