//
// cocos2d::CCLabelBMFont::purgeCachedData from 0x180047930 to 0x180047966 (54 bytes)
//
// 3 xrefs:
// > cocos2d::CCDirector::purgeDirector @ 0x1800bef26
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b189c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Alternative name is '?FNTConfigRemoveCache@cocos2d@@YAXXZ'
void __fastcall cocos2d::CCLabelBMFont::purgeCachedData()
{
if ( qword_1801A83B8 )
{
cocos2d::CCDictionary::removeAllObjects((cocos2d::CCDictionary *)qword_1801A83B8);
if ( qword_1801A83B8 )
{
cocos2d::CCObject::release(qword_1801A83B8);
qword_1801A83B8 = nullptr;
}
}
}