//
// cocos2d::CCLabelAtlas::create from 0xd546b4 to 0xd54790 (220 bytes)
//
// 1 xrefs:
// > ??> @ 0xb3e00
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:07:42 +0000
//
cocos2d::CCAtlasNode *__fastcall cocos2d::CCLabelAtlas::create(
cocos2d::CCLabelAtlas *this,
const char *a2,
const char *a3,
int a4,
int a5)
{
int v8; // w21
cocos2d::CCAtlasNode *v9; // x19
v8 = (int)a3;
v9 = (cocos2d::CCAtlasNode *)operator new(0x1C0u);
cocos2d::CCAtlasNode::CCAtlasNode(v9);
*((_QWORD *)v9 + 52) = 0;
*(_QWORD *)v9 = &off_1517220;
*((_QWORD *)v9 + 40) = &off_1517678;
*((_QWORD *)v9 + 43) = &off_15176F8;
*((_QWORD *)v9 + 51) = &off_1517728;
*((_QWORD *)v9 + 53) = 0;
*((_QWORD *)v9 + 54) = 0;
if ( (unsigned __int8)cocos2d::CCLabelAtlas::initWithString(v9, (const char *)this, a2, v8, a4, a5) )
{
cocos2d::CCObject::autorelease(v9);
return v9;
}
else
{
(*(void (__fastcall **)(cocos2d::CCAtlasNode *))(*(_QWORD *)v9 + 16LL))(v9);
return nullptr;
}
}