//
// cocos2d::CCLabelTTF::create from 0x18004fb70 to 0x18004fc1c (172 bytes)
//
// 4 xrefs:
// > cocos2d::CCMenuItemFont::initWithString @ 0x18005d1ec
// > cocos2d::CCMenuItemFont::recreateLabel @ 0x18005d3bb
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bbea8
//
// This function is hookable on this platform (idp: pc, 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 11:21:45 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCLabelTTF *__fastcall cocos2d::CCLabelTTF::create(const char *a1, const char *a2, float a3)
{
cocos2d::CCLabelTTF *v5; // rax
cocos2d::CCObject *v6; // rbx
v5 = (cocos2d::CCLabelTTF *)sub_1800E4AC0(0x2C0u);
if ( v5 )
v6 = cocos2d::CCLabelTTF::CCLabelTTF(v5);
else
v6 = nullptr;
if ( v6 )
{
if ( (unsigned __int8)cocos2d::CCLabelTTF::initWithString(v6, a1, a2) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v6 + 8LL))(v6, 1);
}
return nullptr;
}