//
// cocos2d::CCBMFontConfiguration::dCCBMFontConfiguration from 0x1003962bc to 0x100396344 (136 bytes)
//
// 2 xrefs:
// > j_cocos2d::CCBMFontConfiguration::dCCBMFontConfiguration @ 0x100396584
// > sub_100396588 @ 0x100396590
//
// 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
//
__int64 __fastcall cocos2d::CCBMFontConfiguration::dCCBMFontConfiguration(__int64 a1)
{
_QWORD **v2; // x20
*(_QWORD *)a1 = off_100941B90;
cocos2d::CCBMFontConfiguration::purgeFontDefDictionary();
cocos2d::CCBMFontConfiguration::purgeKerningDictionary(a1);
if ( *(char *)(a1 + 111) < 0 )
{
**(_BYTE **)(a1 + 88) = 0;
*(_QWORD *)(a1 + 96) = 0;
}
else
{
*(_BYTE *)(a1 + 88) = 0;
*(_BYTE *)(a1 + 111) = 0;
}
v2 = *(_QWORD ***)(a1 + 120);
if ( v2 )
{
sub_1000187C4(*(_QWORD *)(a1 + 120), v2[1]);
operator delete(v2);
*(_QWORD *)(a1 + 120) = 0;
}
if ( *(char *)(a1 + 111) < 0 )
operator delete(*(void **)(a1 + 88));
return cocos2d::CCObject::dCCObject(a1);
}