//
// cocos2d::CCMenuItemImage::create from 0xd66e08 to 0xd66eb0 (168 bytes)
//
// 1 xrefs:
// > ??> @ 0xd8898
//
// 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::CCMenuItemImage::create(cocos2d::CCMenuItemImage *this)
{
__int64 v1; // x19
v1 = operator new(0x190u);
cocos2d::CCNodeRGBA::CCNodeRGBA((cocos2d::CCNodeRGBA *)v1);
*(_BYTE *)(v1 + 338) = 0;
*(_BYTE *)(v1 + 339) = 0;
*(_QWORD *)(v1 + 344) = 0;
*(_QWORD *)(v1 + 352) = 0;
*(_QWORD *)(v1 + 360) = 0;
*(_DWORD *)(v1 + 368) = 0;
*(_QWORD *)(v1 + 376) = 0;
*(_QWORD *)(v1 + 384) = 0;
*(_QWORD *)(v1 + 392) = 0;
*(_DWORD *)(v1 + 372) = 0;
*(_QWORD *)v1 = &off_1525EE0;
*(_QWORD *)(v1 + 320) = &off_1526358;
if ( (unsigned __int8)cocos2d::CCMenuItemImage::init((cocos2d::CCMenuItemImage *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}