//
// cocos2d::CCMenuItemImage::create from 0x7ddcd0 to 0x7ddd46 (118 bytes)
//
// 2 xrefs:
// > cocos2d::CCMenuItemImage::create @ 0x7ddd68
// > cocos2d::CCMenuItemImage::create @ 0x7ddd90
//
// 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::CCSprite *a1,
cocos2d::CCSprite *a2,
cocos2d::CCSprite *a3,
int a4,
int a5,
int a6)
{
cocos2d::CCMenuItem *v10; // r4
v10 = (cocos2d::CCMenuItem *)operator new(0x138u);
cocos2d::CCMenuItem::CCMenuItem(v10);
*((_DWORD *)v10 + 75) = 0;
*((_DWORD *)v10 + 76) = 0;
*((_DWORD *)v10 + 77) = 0;
*(_DWORD *)v10 = &off_D0CD80;
*((_DWORD *)v10 + 66) = &off_D0CFBC;
if ( cocos2d::CCMenuItemImage::initWithNormalImage(v10, a1, a2, a3, a4, a5, a6) )
{
cocos2d::CCObject::autorelease(v10);
return v10;
}
else
{
(*(void (__fastcall **)(cocos2d::CCMenuItem *))(*(_DWORD *)v10 + 8))(v10);
return nullptr;
}
}