{"type": "func", "start": 4298556592, "end": 4298556672, "name": "GameManager::getFontFile", "pseudocode": "// \n// GameManager::getFontFile from 0x10036c4b0 to 0x10036c500 (80 bytes)\n// \n// 7 xrefs:\n// > PlayLayer::setupHasCompleted @ 0x10007b715\n// > LabelGameObject::createLabel @ 0x1001a18d7\n// > CustomizeObjectLayer::init @ 0x1001d8b41\n// > CustomizeObjectLayer::init @ 0x1001d8de0\n// > SelectFontLayer::updateFontLabel @ 0x100285781\n// > SecretLayer5::init @ 0x10046f531\n// > TextGameObject::updateTextObject @ 0x1006a319d\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:29:00 +0000\n// \n\nconst std::string::value_type *__fastcall GameManager::getFontFile(__int64 a1, int a2)\n{\n  int v2; // eax\n  int v3; // ebx\n  __int64 v4; // rax\n  char v6; // [rsp+0h] [rbp-10h]\n\n  v2 = 59;\n  if ( a2 < 59 )\n    v2 = a2;\n  v3 = 0;\n  if ( v2 > 0 )\n    v3 = v2;\n  GameManager::loadFont(a1, v3);\n  if ( a2 <= 0 )\n    return \"bigFont.fnt\";\n  v4 = sub_10088E820(\"gjFont%02d.fnt\", v6);\n  return (const std::string::value_type *)cocos2d::CCString::getCString(v4);\n}", "assembly": "; \n; GameManager::getFontFile from 0x10036c4b0 to 0x10036c500 (80 bytes)\n; \n; 7 xrefs:\n; > PlayLayer::setupHasCompleted @ 0x10007b715\n; > LabelGameObject::createLabel @ 0x1001a18d7\n; > CustomizeObjectLayer::init @ 0x1001d8b41\n; > CustomizeObjectLayer::init @ 0x1001d8de0\n; > SelectFontLayer::updateFontLabel @ 0x100285781\n; > SecretLayer5::init @ 0x10046f531\n; > TextGameObject::updateTextObject @ 0x1006a319d\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:29:00 +0000\n; \npush    rbp                                                            ; +0x0, 0x10036c4b0\nmov     rbp, rsp                                                       ; +0x1, 0x10036c4b1\npush    r14                                                            ; +0x4, 0x10036c4b4\npush    rbx; char                                                      ; +0x6, 0x10036c4b6\nmov     r14d, esi                                                      ; +0x7, 0x10036c4b7\ncmp     esi, 3Bh ; ';'                                                 ; +0xa, 0x10036c4ba\nmov     eax, 3Bh ; ';'                                                 ; +0xd, 0x10036c4bd\ncmovl   eax, esi                                                       ; +0x12, 0x10036c4c2\nxor     ebx, ebx                                                       ; +0x15, 0x10036c4c5\ntest    eax, eax                                                       ; +0x17, 0x10036c4c7\ncmovg   ebx, eax                                                       ; +0x19, 0x10036c4c9\nmov     esi, ebx                                                       ; +0x1c, 0x10036c4cc\ncall    GameManager__loadFont                                          ; +0x1e, 0x10036c4ce\ntest    r14d, r14d                                                     ; +0x23, 0x10036c4d3\njle     short loc_10036C4F4                                            ; +0x26, 0x10036c4d6\nlea     rdi, aGjfont02dFnt; \"gjFont%02d.fnt\"                           ; +0x28, 0x10036c4d8\nmov     esi, ebx                                                       ; +0x2f, 0x10036c4df\nxor     eax, eax                                                       ; +0x31, 0x10036c4e1\ncall    sub_10088E820                                                  ; +0x33, 0x10036c4e3\nmov     rdi, rax                                                       ; +0x38, 0x10036c4e8\npop     rbx                                                            ; +0x3b, 0x10036c4eb\npop     r14                                                            ; +0x3c, 0x10036c4ec\npop     rbp                                                            ; +0x3e, 0x10036c4ee\njmp     cocos2d__CCString__getCString                                  ; +0x3f, 0x10036c4ef\nlea     rax, aBigfontFnt; \"bigFont.fnt\"                                ; +0x44, 0x10036c4f4\npop     rbx                                                            ; +0x4b, 0x10036c4fb\npop     r14                                                            ; +0x4c, 0x10036c4fc\npop     rbp                                                            ; +0x4e, 0x10036c4fe\nretn                                                                   ; +0x4f, 0x10036c4ff", "xrefs": ["PlayLayer::setupHasCompleted @ 0x10007b715", "LabelGameObject::createLabel @ 0x1001a18d7", "CustomizeObjectLayer::init @ 0x1001d8b41", "CustomizeObjectLayer::init @ 0x1001d8de0", "SelectFontLayer::updateFontLabel @ 0x100285781", "SecretLayer5::init @ 0x10046f531", "TextGameObject::updateTextObject @ 0x1006a319d"], "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"}