//
// BitmapFontCache::sharedFontCache from 0x10021fe60 to 0x10021fec3 (99 bytes)
//
// 1 xrefs:
// > MultilineBitmapFont::initWithFont @ 0x10048725f
//
// 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
//
BitmapFontCache *__fastcall BitmapFontCache::sharedFontCache()
{
BitmapFontCache *result; // rax
_QWORD *v1; // rbx
cocos2d::CCDictionary *v2; // rax
result = (BitmapFontCache *)qword_10099F450;
if ( !qword_10099F450 )
{
v1 = operator new(0x40u);
cocos2d::CCObject::CCObject(v1);
*v1 = off_1008E0C40;
v1[7] = 0;
qword_10099F450 = (__int64)v1;
v2 = cocos2d::CCDictionary::create();
v1[7] = v2;
cocos2d::CCObject::retain(v2);
return (BitmapFontCache *)qword_10099F450;
}
return result;
}