//
// cocos2d::CCLabelTTF::createWithFontDefinition from 0xae9be0 to 0xae9c54 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x3b3a0
//
// 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::CCLabelTTF *cocos2d::CCLabelTTF::createWithFontDefinition(const char *a1, cocos2d::ccFontDefinition *a2)
{
cocos2d::CCLabelTTF *v3; // x19
v3 = (cocos2d::CCLabelTTF *)operator new(0x2A8u);
cocos2d::CCLabelTTF::CCLabelTTF(v3);
if ( cocos2d::CCLabelTTF::initWithStringAndTextDefinition(v3, a1, a2) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
else
{
v3->~CCLabelTTF_0(v3);
return nullptr;
}
}