//
// cocos2d::CCLabelTTF::createWithFontDefinition from 0xd5b938 to 0xd5b9ac (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x56080
//
// 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:47 +0000
//
cocos2d::CCLabelTTF *__fastcall cocos2d::CCLabelTTF::createWithFontDefinition(__int64 a1, __int64 a2)
{
cocos2d::CCLabelTTF *v3; // x19
v3 = (cocos2d::CCLabelTTF *)operator new(0x2B8u);
cocos2d::CCLabelTTF::CCLabelTTF(v3);
if ( (unsigned __int8)cocos2d::CCLabelTTF::initWithStringAndTextDefinition(v3, a1, a2) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLabelTTF *))(*(_QWORD *)v3 + 16LL))(v3);
return nullptr;
}
}