//
// FontObject::createWithConfigFile from 0x2e0c14 to 0x2e0c6c (88 bytes)
//
// 1 xrefs:
// > BitmapFontCache::fontWithConfigFile @ 0x2e0cea
//
// 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
//
FontObject *FontObject::createWithConfigFile(const char *a1, float a2)
{
FontObject *v4; // r4
v4 = (FontObject *)operator new(0x4E4u);
memset(v4, 0, sizeof(FontObject));
cocos2d::CCObject::CCObject(v4);
v4->__vftable = (FontObject_vtbl *)&off_A3AFE0;
if ( FontObject::initWithConfigFile(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
v4->~FontObject_0(v4);
return nullptr;
}
}