//
// cocos2d::CCMenuItemImage::create from 0x7ddda0 to 0x7dde1a (122 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:47 +0000
//
cocos2d::CCMenuItem *__fastcall cocos2d::CCMenuItemImage::create(
cocos2d::CCMenuItemImage *this,
cocos2d::CCSprite *a2,
cocos2d::CCSprite *a3,
const char *a4)
{
cocos2d::CCMenuItem *v7; // r4
v7 = (cocos2d::CCMenuItem *)operator new(0x138u);
cocos2d::CCMenuItem::CCMenuItem(v7);
*(_DWORD *)v7 = &off_D0CD80;
*((_DWORD *)v7 + 75) = 0;
*((_DWORD *)v7 + 76) = 0;
*((_DWORD *)v7 + 77) = 0;
*((_DWORD *)v7 + 66) = &off_D0CFBC;
if ( cocos2d::CCMenuItemImage::initWithNormalImage(v7, this, a2, a3, 0, 0, 0) )
{
cocos2d::CCObject::autorelease(v7);
return v7;
}
else
{
(*(void (__fastcall **)(cocos2d::CCMenuItem *))(*(_DWORD *)v7 + 8))(v7);
return nullptr;
}
}