//
// cocos2d::CCBMFontConfiguration::create from 0x10039576c to 0x1003957f4 (136 bytes)
//
// 1 xrefs:
// > cocos2d::FNTConfigLoadFile @ 0x1003956ec
//
// 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 11:03:40 +0000
//
char *__fastcall cocos2d::CCBMFontConfiguration::create(__int64 a1)
{
char *v2; // x19
__int64 v3; // x0
v2 = (char *)operator new(0x80u);
cocos2d::CCObject::CCObject((__int64)v2);
*(_QWORD *)v2 = off_100941B90;
*((_DWORD *)v2 + 16) = 0;
*((_QWORD *)v2 + 7) = 0;
*(_OWORD *)(v2 + 88) = 0u;
*(_OWORD *)(v2 + 104) = 0u;
*((_QWORD *)v2 + 15) = 0;
v3 = cocos2d::CCBMFontConfiguration::parseConfigFile(v2, a1);
*((_QWORD *)v2 + 15) = v3;
if ( v3 )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}