//
// cocos2d::CCMenuItemAtlasFont::initWithString from 0x18005b0c0 to 0x18005b16b (171 bytes)
//
// 3 xrefs:
// > cocos2d::CCMenuItemAtlasFont::create @ 0x18005a41f
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2d90
//
// 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
//
char __fastcall cocos2d::CCMenuItemAtlasFont::initWithString(
__int64 *a1,
const char *a2,
const char *a3,
unsigned int a4,
unsigned int a5,
char a6,
__int64 a7,
__int64 a8)
{
cocos2d::CCLabelAtlas *v12; // rax
cocos2d::CCLabelAtlas *v13; // rbx
v12 = (cocos2d::CCLabelAtlas *)operator new(0x1C8u);
if ( v12 )
v13 = cocos2d::CCLabelAtlas::CCLabelAtlas(v12);
else
v13 = nullptr;
cocos2d::CCLabelAtlas::initWithString(v13, a2, a3, a4, a5, a6);
cocos2d::CCObject::autorelease(v13);
cocos2d::CCMenuItemLabel::initWithLabel(a1, (__int64)v13, a7, a8);
return 1;
}