//
// cocos2d::CCMenuItemImage::initWithNormalImage from 0x100055a60 to 0x100055b0c (172 bytes)
//
// 1 xrefs:
// > SliderThumb::create @ 0x100389e38
//
// 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 10:57:45 +0000
//
__int64 __fastcall cocos2d::CCMenuItemImage::initWithNormalImage(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
__int64 a7)
{
__int64 v11; // x25
__int64 v13; // x23
__int64 v14; // x3
v11 = a3;
if ( a2 )
{
v13 = cocos2d::CCSprite::create(a2);
if ( !v11 )
goto LABEL_4;
goto LABEL_3;
}
v13 = 0;
if ( a3 )
LABEL_3:
v11 = cocos2d::CCSprite::create(v11);
LABEL_4:
if ( a4 )
v14 = cocos2d::CCSprite::create(a4);
else
v14 = 0;
cocos2d::CCMenuItemSprite::initWithNormalSprite(a1, v13, v11, v14, a5, a6, a7);
return 1;
}