//
// cocos2d::CCMenuItemImage::create from 0x7ddc04 to 0x7ddc56 (82 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:46 +0000
//
cocos2d::CCMenuItem *__fastcall cocos2d::CCMenuItemImage::create(cocos2d::CCMenuItemImage *this)
{
cocos2d::CCMenuItem *v1; // r4
v1 = (cocos2d::CCMenuItem *)operator new(0x138u);
cocos2d::CCMenuItem::CCMenuItem(v1);
*((_DWORD *)v1 + 75) = 0;
*((_DWORD *)v1 + 76) = 0;
*((_DWORD *)v1 + 77) = 0;
*(_DWORD *)v1 = &off_D0CD80;
*((_DWORD *)v1 + 66) = &off_D0CFBC;
if ( cocos2d::CCMenuItemImage::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCMenuItem *))(*(_DWORD *)v1 + 8))(v1);
return nullptr;
}
}