//
// cocos2d::CCLabelAtlas::create from 0x5cb48c to 0x5cb50a (126 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::CCLabelAtlas *cocos2d::CCLabelAtlas::create(const char *a1, const char *a2)
{
cocos2d::CCLabelAtlas *v4; // r4
v4 = (cocos2d::CCLabelAtlas *)operator new(0x158u);
cocos2d::CCAtlasNode::CCAtlasNode(v4);
v4->cocos2d::CCAtlasNode::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLabelAtlas_vtbl *)&off_AA1FC8;
v4->cocos2d::CCAtlasNode::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_AA21EC;
v4->cocos2d::CCAtlasNode::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_AA222C;
v4->cocos2d::CCLabelProtocol::__vftable = (cocos2d::CCLabelProtocol_vtbl *)&off_AA2244;
sub_776584((int)&v4->m_sString, (char *)&unk_939830);
if ( cocos2d::CCLabelAtlas::initWithString(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
cocos2d::CCObject::release(v4);
return nullptr;
}
return v4;
}