{"type": "func", "start": 4298649808, "end": 4298649888, "name": "GameManager::getFontFile", "pseudocode": "// \n// GameManager::getFontFile from 0x1003830d0 to 0x100383120 (80 bytes)\n// \n// 7 xrefs:\n// > PlayLayer::setupHasCompleted @ 0x1000ae164\n// > LabelGameObject::createLabel @ 0x1001c1007\n// > CustomizeObjectLayer::init @ 0x1001f6791\n// > CustomizeObjectLayer::init @ 0x1001f6a30\n// > SelectFontLayer::updateFontLabel @ 0x10029a681\n// > SecretLayer5::init @ 0x10047abd1\n// > TextGameObject::updateTextObject @ 0x1005d1915\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nconst char *__fastcall GameManager::getFontFile(GameManager *a1, int a2)\n{\n  int v2; // eax\n  int v3; // ebx\n  cocos2d::CCString *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 = (cocos2d::CCString *)sub_1007AB580(\"gjFont%02d.fnt\", v6);\n  return cocos2d::CCString::getCString(v4);\n}", "assembly": "; \n; GameManager::getFontFile from 0x1003830d0 to 0x100383120 (80 bytes)\n; \n; 7 xrefs:\n; > PlayLayer::setupHasCompleted @ 0x1000ae164\n; > LabelGameObject::createLabel @ 0x1001c1007\n; > CustomizeObjectLayer::init @ 0x1001f6791\n; > CustomizeObjectLayer::init @ 0x1001f6a30\n; > SelectFontLayer::updateFontLabel @ 0x10029a681\n; > SecretLayer5::init @ 0x10047abd1\n; > TextGameObject::updateTextObject @ 0x1005d1915\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1003830d0\nmov     rbp, rsp                                                       ; +0x1, 0x1003830d1\npush    r14                                                            ; +0x4, 0x1003830d4\npush    rbx; char                                                      ; +0x6, 0x1003830d6\nmov     r14d, esi                                                      ; +0x7, 0x1003830d7\ncmp     esi, 3Bh ; ';'                                                 ; +0xa, 0x1003830da\nmov     eax, 3Bh ; ';'                                                 ; +0xd, 0x1003830dd\ncmovl   eax, esi                                                       ; +0x12, 0x1003830e2\nxor     ebx, ebx                                                       ; +0x15, 0x1003830e5\ntest    eax, eax                                                       ; +0x17, 0x1003830e7\ncmovg   ebx, eax                                                       ; +0x19, 0x1003830e9\nmov     esi, ebx                                                       ; +0x1c, 0x1003830ec\ncall    GameManager__loadFont                                          ; +0x1e, 0x1003830ee\ntest    r14d, r14d                                                     ; +0x23, 0x1003830f3\njle     short loc_100383114                                            ; +0x26, 0x1003830f6\nlea     rdi, aGjfont02dFnt; \"gjFont%02d.fnt\"                           ; +0x28, 0x1003830f8\nmov     esi, ebx                                                       ; +0x2f, 0x1003830ff\nxor     eax, eax                                                       ; +0x31, 0x100383101\ncall    sub_1007AB580                                                  ; +0x33, 0x100383103\nmov     rdi, rax                                                       ; +0x38, 0x100383108\npop     rbx                                                            ; +0x3b, 0x10038310b\npop     r14                                                            ; +0x3c, 0x10038310c\npop     rbp                                                            ; +0x3e, 0x10038310e\njmp     cocos2d__CCString__getCString                                  ; +0x3f, 0x10038310f\nlea     rax, aBigfontFnt; \"bigFont.fnt\"                                ; +0x44, 0x100383114\npop     rbx                                                            ; +0x4b, 0x10038311b\npop     r14                                                            ; +0x4c, 0x10038311c\npop     rbp                                                            ; +0x4e, 0x10038311e\nretn                                                                   ; +0x4f, 0x10038311f", "xrefs": ["PlayLayer::setupHasCompleted @ 0x1000ae164", "LabelGameObject::createLabel @ 0x1001c1007", "CustomizeObjectLayer::init @ 0x1001f6791", "CustomizeObjectLayer::init @ 0x1001f6a30", "SelectFontLayer::updateFontLabel @ 0x10029a681", "SecretLayer5::init @ 0x10047abd1", "TextGameObject::updateTextObject @ 0x1005d1915"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}