//
// cocos2d::CCMenuItemImage::initWithNormalImage from 0x7ddc5c to 0x7ddca4 (72 bytes)
//
// 4 xrefs:
// > SliderThumb::init @ 0x3da9ac
// > cocos2d::CCMenuItemImage::init @ 0x7ddcc6
// > cocos2d::CCMenuItemImage::create @ 0x7ddd24
// > cocos2d::CCMenuItemImage::create @ 0x7dddf8
//
// 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
//
int __fastcall cocos2d::CCMenuItemImage::initWithNormalImage(
_DWORD *a1,
cocos2d::CCSprite *a2,
cocos2d::CCSprite *a3,
cocos2d::CCSprite *a4,
int a5,
int a6,
int a7)
{
int v10; // r6
int v11; // r3
if ( a2 )
v10 = cocos2d::CCSprite::create(a2, (const char *)a2);
else
v10 = 0;
if ( a3 )
a3 = (cocos2d::CCSprite *)cocos2d::CCSprite::create(a3, (const char *)a2);
if ( a4 )
v11 = cocos2d::CCSprite::create(a4, (const char *)a2);
else
v11 = 0;
return cocos2d::CCMenuItemSprite::initWithNormalSprite(a1, v10, (int)a3, v11, a5, a6, a7);
}