//
// cocos2d::CCLabelAtlas::create from 0xae2298 to 0xae2368 (208 bytes)
//
// 1 xrefs:
// > ??> @ 0x83e98
//
// 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; // x19
cocos2d::CCObject *v5; // x0
v4 = (cocos2d::CCLabelAtlas *)operator new(0x1B0u);
cocos2d::CCAtlasNode::CCAtlasNode(v4);
v4->cocos2d::CCAtlasNode::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLabelAtlas_vtbl *)&off_12018D0;
v4->cocos2d::CCAtlasNode::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_1201D18;
v4->cocos2d::CCAtlasNode::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_1201D98;
v4->cocos2d::CCLabelProtocol::__vftable = (cocos2d::CCLabelProtocol_vtbl *)&off_1201DC8;
sub_D153B8((_DWORD)v4 + 416, &byte_F288A0);
if ( cocos2d::CCLabelAtlas::initWithString(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
v5 = v4;
v4 = nullptr;
cocos2d::CCObject::release(v5);
}
return v4;
}