//
// cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration from 0xd56090 to 0xd5614c (188 bytes)
//
// 4 xrefs:
// > cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration @ 0xd5615c
// > ??> @ 0x97f78
// > ??> @ 0xd99d8
// > ??> @ 0x1518328
//
// 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 13:07:43 +0000
//
// Alternative name is '_ZN7cocos2d21CCBMFontConfigurationD2Ev'
void __fastcall cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration(cocos2d::CCBMFontConfiguration *this)
{
char *v2; // x21
_QWORD *v3; // x20
_QWORD **v4; // x22
*(_QWORD *)this = &off_1518320;
v2 = (char *)this + 88;
cocos2d::CCBMFontConfiguration::purgeFontDefDictionary(this);
cocos2d::CCBMFontConfiguration::purgeKerningDictionary(this);
if ( (*((_BYTE *)this + 88) & 1) == 0 )
{
v3 = *((_QWORD **)this + 15);
*((_BYTE *)this + 89) = 0;
*((_BYTE *)this + 88) = 0;
if ( !v3 )
goto LABEL_8;
goto LABEL_3;
}
**((_BYTE **)v2 + 2) = 0;
*((_QWORD *)v2 + 1) = 0;
v3 = *((_QWORD **)this + 15);
if ( v3 )
{
LABEL_3:
v4 = (_QWORD **)v3[1];
if ( v4 )
{
std::__tree::destroy((__int64)v3, *v4);
std::__tree::destroy((__int64)v3, v4[1]);
operator delete(v4);
}
operator delete(v3);
*((_QWORD *)this + 15) = 0;
}
if ( (*((_BYTE *)this + 88) & 1) != 0 )
operator delete(*((void **)v2 + 2));
LABEL_8:
cocos2d::CCObject::~CCObject(this);
}