//
// cocos2d::CCLabelTTF::createWithFontDefinition from 0x7d6b74 to 0x7d6bac (56 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:39 +0000
//
cocos2d::CCLabelTTF *__fastcall cocos2d::CCLabelTTF::createWithFontDefinition(
cocos2d::CCLabelTTF *this,
cocos2d::_ccFontDefinition *a2,
cocos2d::_ccFontDefinition *a3)
{
cocos2d::CCLabelTTF *v5; // r4
v5 = (cocos2d::CCLabelTTF *)operator new(0x244u);
cocos2d::CCLabelTTF::CCLabelTTF(v5);
if ( cocos2d::CCLabelTTF::initWithStringAndTextDefinition(v5, (const char *)this, a2) )
{
cocos2d::CCObject::autorelease(v5);
return v5;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLabelTTF *))(*(_DWORD *)v5 + 8))(v5);
return nullptr;
}
}