//
// cocos2d::CCBMFontConfiguration::create from 0x1006a67c0 to 0x1006a683c (124 bytes)
//
// 0 xrefs:
//
// 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 12:35:19 +0000
//
char *__fastcall cocos2d::CCBMFontConfiguration::create(__int64 a1)
{
char *v1; // rbx
__int64 v2; // rax
v1 = (char *)operator new(0x80u);
cocos2d::CCObject::CCObject((__int64)v1);
*(_QWORD *)v1 = off_100B86BE0;
*((_DWORD *)v1 + 16) = 0;
*((_QWORD *)v1 + 7) = 0;
*(_OWORD *)(v1 + 88) = 0;
*(_OWORD *)(v1 + 104) = 0;
*((_QWORD *)v1 + 15) = 0;
v2 = cocos2d::CCBMFontConfiguration::parseConfigFile(v1, a1);
*((_QWORD *)v1 + 15) = v2;
if ( v2 )
{
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}