//
// BitmapFontCache::sharedFontCache from 0x1002f394c to 0x1002f39a4 (88 bytes)
//
// 1 xrefs:
// > MultilineBitmapFont::initWithFont @ 0x100234508
//
// 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; // x0
_QWORD *v1; // x19
cocos2d::CCDictionary *v2; // x0
result = (BitmapFontCache *)qword_10086DCE0;
if ( !qword_10086DCE0 )
{
v1 = operator new(0x40u);
cocos2d::CCObject::CCObject((__int64)v1);
*v1 = off_1007E8AD8;
v1[7] = 0;
qword_10086DCE0 = (__int64)v1;
v2 = cocos2d::CCDictionary::create();
v1[7] = v2;
cocos2d::CCObject::retain(v2);
return (BitmapFontCache *)qword_10086DCE0;
}
return result;
}