{"type": "func", "start": 4298649888, "end": 4298649968, "name": "GameManager::getFontTexture", "pseudocode": "// \n// GameManager::getFontTexture from 0x100383120 to 0x100383170 (80 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::updateLevelFont @ 0x1000f143e\n// > GJBaseGameLayer::createTextLayers @ 0x10011f9c4\n// > GameObject::createWithKey @ 0x10059d609\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::getFontTexture(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.png\";\n  v4 = (cocos2d::CCString *)sub_1007AB580(\"gjFont%02d.png\", v6);\n  return cocos2d::CCString::getCString(v4);\n}", "assembly": "; \n; GameManager::getFontTexture from 0x100383120 to 0x100383170 (80 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::updateLevelFont @ 0x1000f143e\n; > GJBaseGameLayer::createTextLayers @ 0x10011f9c4\n; > GameObject::createWithKey @ 0x10059d609\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, 0x100383120\nmov     rbp, rsp                                                       ; +0x1, 0x100383121\npush    r14                                                            ; +0x4, 0x100383124\npush    rbx; char                                                      ; +0x6, 0x100383126\nmov     r14d, esi                                                      ; +0x7, 0x100383127\ncmp     esi, 3Bh ; ';'                                                 ; +0xa, 0x10038312a\nmov     eax, 3Bh ; ';'                                                 ; +0xd, 0x10038312d\ncmovl   eax, esi                                                       ; +0x12, 0x100383132\nxor     ebx, ebx                                                       ; +0x15, 0x100383135\ntest    eax, eax                                                       ; +0x17, 0x100383137\ncmovg   ebx, eax                                                       ; +0x19, 0x100383139\nmov     esi, ebx                                                       ; +0x1c, 0x10038313c\ncall    GameManager__loadFont                                          ; +0x1e, 0x10038313e\ntest    r14d, r14d                                                     ; +0x23, 0x100383143\njle     short loc_100383164                                            ; +0x26, 0x100383146\nlea     rdi, aGjfont02dPng; \"gjFont%02d.png\"                           ; +0x28, 0x100383148\nmov     esi, ebx                                                       ; +0x2f, 0x10038314f\nxor     eax, eax                                                       ; +0x31, 0x100383151\ncall    sub_1007AB580                                                  ; +0x33, 0x100383153\nmov     rdi, rax                                                       ; +0x38, 0x100383158\npop     rbx                                                            ; +0x3b, 0x10038315b\npop     r14                                                            ; +0x3c, 0x10038315c\npop     rbp                                                            ; +0x3e, 0x10038315e\njmp     cocos2d__CCString__getCString                                  ; +0x3f, 0x10038315f\nlea     rax, aBigfontPng; \"bigFont.png\"                                ; +0x44, 0x100383164\npop     rbx                                                            ; +0x4b, 0x10038316b\npop     r14                                                            ; +0x4c, 0x10038316c\npop     rbp                                                            ; +0x4e, 0x10038316e\nretn                                                                   ; +0x4f, 0x10038316f", "xrefs": ["LevelEditorLayer::updateLevelFont @ 0x1000f143e", "GJBaseGameLayer::createTextLayers @ 0x10011f9c4", "GameObject::createWithKey @ 0x10059d609"], "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"}