//
// cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration from 0x180048890 to 0x180048970 (224 bytes)
//
// 6 xrefs:
// > sub_180048A60 @ 0x180048abe
// > sub_180048A60 @ 0x180048a7c
// > ??> @ 0x1801406d8
// > ??> @ 0x1801406e8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bba64
//
// 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 11:21:41 +0000
//
void __fastcall cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration(cocos2d::CCBMFontConfiguration *this)
{
_BYTE *v2; // rax
void **v3; // rdi
_QWORD *v4; // rbx
void *v5; // rcx
*(_QWORD *)this = &cocos2d::CCBMFontConfiguration::`vftable';
cocos2d::CCBMFontConfiguration::purgeFontDefDictionary(this);
cocos2d::CCBMFontConfiguration::purgeKerningDictionary(this);
*((_QWORD *)this + 13) = 0;
v2 = (char *)this + 88;
if ( *((_QWORD *)this + 14) > 0xFu )
v2 = *((_BYTE **)this + 11);
*v2 = 0;
v3 = *((void ***)this + 16);
if ( v3 )
{
v4 = *((_QWORD **)*v3 + 1);
while ( !*((_BYTE *)v4 + 25) )
{
sub_1800482A0((__int64)v3, (__int64)v3, v4[2]);
v5 = v4;
v4 = (_QWORD *)*v4;
j_j_free_0(v5);
}
j_j_free_0(*v3);
j_j_free_0(v3);
*((_QWORD *)this + 16) = 0;
}
sub_180005C70((__int64)this + 88);
cocos2d::CCObject::~CCObject(this);
}