//
// cocos2d::CCMenuItemImage::initWithNormalImage from 0x5d5ce8 to 0x5d5d30 (72 bytes)
//
// 4 xrefs:
// > SliderThumb::init @ 0x2f5354
// > cocos2d::CCMenuItemImage::init @ 0x5d5d52
// > cocos2d::CCMenuItemImage::create @ 0x5d5db0
// > cocos2d::CCMenuItemImage::create @ 0x5d5e84
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool cocos2d::CCMenuItemImage::initWithNormalImage(
cocos2d::CCMenuItemImage *a1,
const char *a2,
const char *a3,
const char *a4,
cocos2d::CCObject *a5,
cocos2d::SEL_MenuHandler a6)
{
cocos2d::CCNode *v9; // r6
cocos2d::CCNode *v10; // r3
if ( a2 )
v9 = (cocos2d::CCNode *)cocos2d::CCSprite::create((cocos2d::CCSprite *)a2, a2);
else
v9 = nullptr;
if ( a3 )
a3 = (const char *)cocos2d::CCSprite::create((cocos2d::CCSprite *)a3, a2);
if ( a4 )
v10 = (cocos2d::CCNode *)cocos2d::CCSprite::create((cocos2d::CCSprite *)a4, a2);
else
v10 = nullptr;
return cocos2d::CCMenuItemSprite::initWithNormalSprite(a1, v9, (cocos2d::CCNode *)a3, v10, a5, a6);
}