//
// BitmapFontCache::sharedFontCache from 0x14003de20 to 0x14003de86 (102 bytes)
//
// 3 xrefs:
// > sub_140053E20 @ 0x140053fa8
// > MultilineBitmapFont::initWithFont @ 0x140078f6b
// > ??> @ 0x14090f170
//
// 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:25:28 +0000
//
// Hidden C++ exception states: #wind=1
__int64 BitmapFontCache::sharedFontCache()
{
__int64 result; // rax
cocos2d::CCObject *v1; // rax
cocos2d::CCObject *v2; // [rsp+30h] [rbp+8h]
result = qword_14090BF50;
if ( !qword_14090BF50 )
{
v2 = (cocos2d::CCObject *)operator new(0x40u);
cocos2d::CCObject::CCObject(v2);
*(_QWORD *)v2 = &BitmapFontCache::`vftable';
*((_QWORD *)v2 + 7) = 0;
qword_14090BF50 = (__int64)v2;
v1 = (cocos2d::CCObject *)cocos2d::CCDictionary::create();
*((_QWORD *)v2 + 7) = v1;
cocos2d::CCObject::retain(v1);
return qword_14090BF50;
}
return result;
}