//
// BitmapFontCache::sharedFontCache from 0x100203570 to 0x1002035d3 (99 bytes)
//
// 2 xrefs:
// > sub_1000676D0 @ 0x100067a29
// > MultilineBitmapFont::initWithFont @ 0x10047bc86
//
// 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 12:26:52 +0000
//
__int64 __fastcall BitmapFontCache::sharedFontCache(__int64 a1, __int64 a2)
{
__int64 result; // rax
_QWORD *v3; // rdi
__int64 v4; // rax
result = qword_100BE16C8;
if ( !qword_100BE16C8 )
{
v3 = operator new(0x40u);
cocos2d::CCObject::CCObject(v3);
*v3 = off_100AE5230;
v3[7] = 0;
qword_100BE16C8 = (__int64)v3;
v4 = cocos2d::CCDictionary::create(v3, a2);
v3[7] = v4;
cocos2d::CCObject::retain(v4);
return qword_100BE16C8;
}
return result;
}