//
// cocos2d::CCMenuItemImage::create_1 from 0x1003c0740 to 0x1003c07f8 (184 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_1(
const char *a1,
const char *a2,
cocos2d::CCObject *a3,
cocos2d::SEL_MenuHandler a4)
{
size_t adj; // r13
void (__cdecl *ptr)(cocos2d::CCObject *); // r14
char *v6; // rbx
cocos2d::SEL_MenuHandler v8; // [rsp+10h] [rbp-40h]
adj = a4.adj;
ptr = a4.ptr;
v6 = (char *)operator new(0x190u);
cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v6);
*((_WORD *)v6 + 169) = 0;
*(_OWORD *)(v6 + 344) = 0;
*(_OWORD *)(v6 + 360) = 0;
*(_OWORD *)(v6 + 376) = 0;
*((_QWORD *)v6 + 49) = 0;
*(_QWORD *)v6 = off_10092C398;
*((_QWORD *)v6 + 40) = off_10092C800;
v8.ptr = ptr;
v8.adj = adj;
cocos2d::CCMenuItemImage::initWithNormalImage((cocos2d::CCMenuItemImage *)v6, a1, a2, nullptr, a3, v8);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return (cocos2d::CCMenuItemImage *)v6;
}