//
// cocos2d::CCMenuItemFont::create from 0xaf5ce0 to 0xaf5db4 (212 bytes)
//
// 1 xrefs:
// > ??> @ 0x3b9b8
//
// 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::CCMenuItemFont *cocos2d::CCMenuItemFont::create(const char *a1)
{
__int64 v2; // x19
cocos2d::SEL_MenuHandler v4; // 0:x3.16
v2 = operator new(0x1A0u);
cocos2d::CCNodeRGBA::CCNodeRGBA((cocos2d::CCNodeRGBA *)v2);
*(_BYTE *)(v2 + 338) = 0;
*(_BYTE *)(v2 + 339) = 0;
*(_QWORD *)(v2 + 344) = 0;
*(_QWORD *)(v2 + 352) = 0;
*(_QWORD *)(v2 + 360) = 0;
*(_DWORD *)(v2 + 368) = 0;
*(_QWORD *)(v2 + 384) = 0;
*(_DWORD *)(v2 + 372) = 0;
*(_DWORD *)(v2 + 396) = 0;
*(_DWORD *)(v2 + 400) = 0;
*(_QWORD *)v2 = &off_120EEA0;
*(_QWORD *)(v2 + 320) = &off_120F2F0;
sub_D153B8(v2 + 408, &byte_F288A0);
v4.ptr = nullptr;
v4.adj = 0;
cocos2d::CCMenuItemFont::initWithString((cocos2d::CCMenuItemFont *)v2, a1, nullptr, v4);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (cocos2d::CCMenuItemFont *)v2;
}