//
// cocos2d::CCMenuItemFont::create from 0x1003bf6e0 to 0x1003bf791 (177 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::CCMenuItemFont *__fastcall cocos2d::CCMenuItemFont::create(
const char *a1,
cocos2d::CCObject *a2,
cocos2d::SEL_MenuHandler a3)
{
size_t adj; // r14
void (__cdecl *ptr)(cocos2d::CCObject *); // r15
char *v5; // rbx
adj = a3.adj;
ptr = a3.ptr;
v5 = (char *)operator new(0x1B0u);
cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v5);
*((_WORD *)v5 + 169) = 0;
*(_OWORD *)(v5 + 344) = 0;
*(_OWORD *)(v5 + 360) = 0;
*((_QWORD *)v5 + 48) = 0;
*(_QWORD *)(v5 + 396) = 0;
*(_QWORD *)v5 = off_10092CD98;
*((_QWORD *)v5 + 40) = off_10092D1E8;
*((_WORD *)v5 + 204) = 0;
cocos2d::CCMenuItemFont::initWithString(
(cocos2d::CCMenuItemFont *)v5,
a1,
a2,
(cocos2d::SEL_MenuHandler)__PAIR128__(adj, (unsigned __int64)ptr));
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
return (cocos2d::CCMenuItemFont *)v5;
}