//
// cocos2d::CCLabelAtlas::create from 0x180045d10 to 0x180045db4 (164 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1740
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCLabelAtlas *__fastcall cocos2d::CCLabelAtlas::create(
const char *a1,
const char *a2,
unsigned int a3,
unsigned int a4,
unsigned int a5)
{
cocos2d::CCLabelAtlas *v9; // rax
cocos2d::CCLabelAtlas *v10; // rbx
v9 = (cocos2d::CCLabelAtlas *)operator new(0x1C8u);
if ( v9 )
v10 = cocos2d::CCLabelAtlas::CCLabelAtlas(v9);
else
v10 = nullptr;
if ( v10 )
{
if ( cocos2d::CCLabelAtlas::initWithString(v10, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease(v10);
return v10;
}
((void (__fastcall *)(cocos2d::CCLabelAtlas *, __int64))v10->~CCLabelAtlas)(v10, 1);
}
return nullptr;
}