{"type": "func", "start": 4298556672, "end": 4298556752, "name": "GameManager::getFontTexture", "pseudocode": "// \n// GameManager::getFontTexture from 0x10036c500 to 0x10036c550 (80 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::updateLevelFont @ 0x1000c4b8e\n// > GJBaseGameLayer::createTextLayers @ 0x1000fbcd4\n// > GameObject::createWithKey @ 0x10066ed31\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 char *__fastcall GameManager::getFontTexture(__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.png\";\n  v4 = sub_10088E820(\"gjFont%02d.png\", v6);\n  return (const char *)cocos2d::CCString::getCString(v4);\n}", "assembly": "; \n; GameManager::getFontTexture from 0x10036c500 to 0x10036c550 (80 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::updateLevelFont @ 0x1000c4b8e\n; > GJBaseGameLayer::createTextLayers @ 0x1000fbcd4\n; > GameObject::createWithKey @ 0x10066ed31\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, 0x10036c500\nmov     rbp, rsp                                                       ; +0x1, 0x10036c501\npush    r14                                                            ; +0x4, 0x10036c504\npush    rbx; char                                                      ; +0x6, 0x10036c506\nmov     r14d, esi                                                      ; +0x7, 0x10036c507\ncmp     esi, 3Bh ; ';'                                                 ; +0xa, 0x10036c50a\nmov     eax, 3Bh ; ';'                                                 ; +0xd, 0x10036c50d\ncmovl   eax, esi                                                       ; +0x12, 0x10036c512\nxor     ebx, ebx                                                       ; +0x15, 0x10036c515\ntest    eax, eax                                                       ; +0x17, 0x10036c517\ncmovg   ebx, eax                                                       ; +0x19, 0x10036c519\nmov     esi, ebx                                                       ; +0x1c, 0x10036c51c\ncall    GameManager__loadFont                                          ; +0x1e, 0x10036c51e\ntest    r14d, r14d                                                     ; +0x23, 0x10036c523\njle     short loc_10036C544                                            ; +0x26, 0x10036c526\nlea     rdi, aGjfont02dPng; \"gjFont%02d.png\"                           ; +0x28, 0x10036c528\nmov     esi, ebx                                                       ; +0x2f, 0x10036c52f\nxor     eax, eax                                                       ; +0x31, 0x10036c531\ncall    sub_10088E820                                                  ; +0x33, 0x10036c533\nmov     rdi, rax                                                       ; +0x38, 0x10036c538\npop     rbx                                                            ; +0x3b, 0x10036c53b\npop     r14                                                            ; +0x3c, 0x10036c53c\npop     rbp                                                            ; +0x3e, 0x10036c53e\njmp     cocos2d__CCString__getCString                                  ; +0x3f, 0x10036c53f\nlea     rax, aBigfontPng; \"bigFont.png\"                                ; +0x44, 0x10036c544\npop     rbx                                                            ; +0x4b, 0x10036c54b\npop     r14                                                            ; +0x4c, 0x10036c54c\npop     rbp                                                            ; +0x4e, 0x10036c54e\nretn                                                                   ; +0x4f, 0x10036c54f", "xrefs": ["LevelEditorLayer::updateLevelFont @ 0x1000c4b8e", "GJBaseGameLayer::createTextLayers @ 0x1000fbcd4", "GameObject::createWithKey @ 0x10066ed31"], "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"}