// // cocos2d::CCMenuItemImage::initWithNormalImage from 0x10004d28c to 0x10004d338 (172 bytes) // // 1 xrefs: // > SliderThumb::create @ 0x1002eeca0 // // 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 __fastcall cocos2d::CCMenuItemImage::initWithNormalImage( cocos2d::CCMenuItemImage *a1, const char *a2, const char *a3, const char *a4, cocos2d::CCObject *a5, cocos2d::SEL_MenuHandler a6) { size_t adj; // x19 void (__cdecl *ptr)(cocos2d::CCObject *); // x20 char *v10; // x25 cocos2d::CCSprite *v12; // x23 cocos2d::CCSprite *v13; // x3 cocos2d::SEL_MenuHandler v15; // 0:x5.16 adj = a6.adj; ptr = a6.ptr; v10 = (char *)a3; if ( a2 ) { v12 = cocos2d::CCSprite::create(a2); if ( !v10 ) goto LABEL_4; goto LABEL_3; } v12 = nullptr; if ( a3 ) LABEL_3: v10 = (char *)cocos2d::CCSprite::create(v10); LABEL_4: if ( a4 ) v13 = cocos2d::CCSprite::create(a4); else v13 = nullptr; v15.ptr = ptr; v15.adj = adj; cocos2d::CCMenuItemSprite::initWithNormalSprite(a1, v12, (cocos2d::CCNode *)v10, v13, a5, v15); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source