//
// cocos2d::CCMenuItemAtlasFont::initWithString from 0x7de134 to 0x7de1c0 (140 bytes)
//
// 1 xrefs:
// > cocos2d::CCMenuItemAtlasFont::create @ 0x7de226
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:47 +0000
//
int __fastcall cocos2d::CCMenuItemAtlasFont::initWithString(
int a1,
const char *a2,
const char *a3,
unsigned int a4,
unsigned int a5,
unsigned __int8 a6,
int a7)
{
int *v11; // r4
v11 = (int *)operator new(0x160u);
cocos2d::CCAtlasNode::CCAtlasNode((cocos2d::CCAtlasNode *)v11);
*v11 = (int)&off_D056F8;
v11[66] = (int)&off_D05924;
v11[70] = (int)&off_D05964;
v11[83] = (int)&off_D0597C;
v11[84] = 0;
v11[85] = 0;
v11[86] = 0;
std::string::__init(v11 + 84, &unk_B6B226, 0);
cocos2d::CCLabelAtlas::initWithString((cocos2d::CCLabelAtlas *)v11, a2, a3, a4, a5, a6);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v11);
cocos2d::CCMenuItemLabel::initWithLabel(a1, (int)v11, a7);
return 1;
}