//
// cocos2d::CCMenuItemImage::create from 0x1003c0660 to 0x1003c071e (190 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCMenuItemImage *__fastcall cocos2d::CCMenuItemImage::create(
const char *a1,
const char *a2,
const char *a3,
cocos2d::CCObject *a4,
cocos2d::SEL_MenuHandler a5)
{
size_t adj; // r14
void (__cdecl *ptr)(cocos2d::CCObject *); // r15
char *v7; // rbx
cocos2d::SEL_MenuHandler v9; // [rsp+18h] [rbp-48h]
adj = a5.adj;
ptr = a5.ptr;
v7 = (char *)operator new(0x190u);
cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v7);
*((_WORD *)v7 + 169) = 0;
*(_OWORD *)(v7 + 344) = 0;
*(_OWORD *)(v7 + 360) = 0;
*(_OWORD *)(v7 + 376) = 0;
*((_QWORD *)v7 + 49) = 0;
*(_QWORD *)v7 = off_10092C398;
*((_QWORD *)v7 + 40) = off_10092C800;
v9.ptr = ptr;
v9.adj = adj;
cocos2d::CCMenuItemImage::initWithNormalImage((cocos2d::CCMenuItemImage *)v7, a1, a2, a3, a4, v9);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);
return (cocos2d::CCMenuItemImage *)v7;
}