{"type": "func", "start": 4297078128, "end": 4297078227, "name": "BitmapFontCache::sharedFontCache", "pseudocode": "// \n// BitmapFontCache::sharedFontCache from 0x100203570 to 0x1002035d3 (99 bytes)\n// \n// 2 xrefs:\n// > sub_1000676D0 @ 0x100067a29\n// > MultilineBitmapFont::initWithFont @ 0x10047bc86\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:26:52 +0000\n// \n\n__int64 __fastcall BitmapFontCache::sharedFontCache(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  _QWORD *v3; // rdi\n  __int64 v4; // rax\n\n  result = qword_100BE16C8;\n  if ( !qword_100BE16C8 )\n  {\n    v3 = operator new(0x40u);\n    cocos2d::CCObject::CCObject(v3);\n    *v3 = off_100AE5230;\n    v3[7] = 0;\n    qword_100BE16C8 = (__int64)v3;\n    v4 = cocos2d::CCDictionary::create(v3, a2);\n    v3[7] = v4;\n    cocos2d::CCObject::retain(v4);\n    return qword_100BE16C8;\n  }\n  return result;\n}", "assembly": "; \n; BitmapFontCache::sharedFontCache from 0x100203570 to 0x1002035d3 (99 bytes)\n; \n; 2 xrefs:\n; > sub_1000676D0 @ 0x100067a29\n; > MultilineBitmapFont::initWithFont @ 0x10047bc86\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:26:52 +0000\n; \npush    rbp                                                            ; +0x0, 0x100203570\nmov     rbp, rsp                                                       ; +0x1, 0x100203571\npush    r14                                                            ; +0x4, 0x100203574\npush    rbx                                                            ; +0x6, 0x100203576\nmov     rax, cs:qword_100BE16C8                                        ; +0x7, 0x100203577\ntest    rax, rax                                                       ; +0xe, 0x10020357e\njz      short loc_100203588                                            ; +0x11, 0x100203581\npop     rbx                                                            ; +0x13, 0x100203583\npop     r14                                                            ; +0x14, 0x100203584\npop     rbp                                                            ; +0x16, 0x100203586\nretn                                                                   ; +0x17, 0x100203587\nmov     edi, 40h ; '@'; __sz                                           ; +0x18, 0x100203588\ncall    __Znwm; operator new(ulong)                                    ; +0x1d, 0x10020358d\nmov     rbx, rax                                                       ; +0x22, 0x100203592\nmov     rdi, rax                                                       ; +0x25, 0x100203595\ncall    cocos2d__CCObject__CCObject                                    ; +0x28, 0x100203598\nlea     rax, off_100AE5230                                             ; +0x2d, 0x10020359d\nmov     [rbx], rax                                                     ; +0x34, 0x1002035a4\nmov     qword ptr [rbx+38h], 0                                         ; +0x37, 0x1002035a7\nmov     cs:qword_100BE16C8, rbx                                        ; +0x3f, 0x1002035af\ncall    cocos2d__CCDictionary__create                                  ; +0x46, 0x1002035b6\nmov     [rbx+38h], rax                                                 ; +0x4b, 0x1002035bb\nmov     rdi, rax                                                       ; +0x4f, 0x1002035bf\ncall    cocos2d__CCObject__retain                                      ; +0x52, 0x1002035c2\nmov     rax, cs:qword_100BE16C8                                        ; +0x57, 0x1002035c7\npop     rbx                                                            ; +0x5e, 0x1002035ce\npop     r14                                                            ; +0x5f, 0x1002035cf\npop     rbp                                                            ; +0x61, 0x1002035d1\nretn                                                                   ; +0x62, 0x1002035d2", "xrefs": ["sub_1000676D0 @ 0x100067a29", "MultilineBitmapFont::initWithFont @ 0x10047bc86"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}