{"type": "func", "start": 4298854336, "end": 4298854444, "name": "GameManager::getFontTexture", "pseudocode": "// \n// GameManager::getFontTexture from 0x1003b4fc0 to 0x1003b502c (108 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::createTextLayers @ 0x10027d660\n// > GameObject::createWithKey @ 0x1002f1ad4\n// > LevelEditorLayer::updateLevelFont @ 0x100403c40\n// \n// This function is hookable on this platform (idp: arm, 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 11:03:56 +0000\n// \n\nconst char *__fastcall GameManager::getFontTexture(__int64 a1, int a2)\n{\n  int v3; // w8\n  int v4; // w19\n  void *v5; // x0\n\n  if ( a2 >= 59 )\n    v3 = 59;\n  else\n    v3 = a2;\n  v4 = v3 & ~(v3 >> 31);\n  GameManager::loadFont(a1, v4);\n  if ( a2 < 1 )\n    return \"bigFont.png\";\n  v5 = sub_1003065B0(\"gjFont%02d.png\", v4);\n  return (const char *)cocos2d::CCString::getCString((__int64)v5);\n}", "assembly": "; \n; GameManager::getFontTexture from 0x1003b4fc0 to 0x1003b502c (108 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::createTextLayers @ 0x10027d660\n; > GameObject::createWithKey @ 0x1002f1ad4\n; > LevelEditorLayer::updateLevelFont @ 0x100403c40\n; \n; This function is hookable on this platform (idp: arm, 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 11:03:56 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x1003b4fc0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003b4fc4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003b4fc8\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003b4fcc\nMOV             X20, X1                                                ; +0x10, 0x1003b4fd0\nCMP             W1, #0x3B ; ';'                                        ; +0x14, 0x1003b4fd4\nMOV             W8, #0x3B ; ';'                                        ; +0x18, 0x1003b4fd8\nCSEL            W8, W1, W8, LT                                         ; +0x1c, 0x1003b4fdc\nBIC             W19, W8, W8,ASR#31                                     ; +0x20, 0x1003b4fe0\nMOV             X1, X19                                                ; +0x24, 0x1003b4fe4\nBL              GameManager__loadFont                                  ; +0x28, 0x1003b4fe8\nCMP             W20, #1                                                ; +0x2c, 0x1003b4fec\nB.LT            loc_1003B5014                                          ; +0x30, 0x1003b4ff0\nSTR             X19, [SP,#0x20+var_20]                                 ; +0x34, 0x1003b4ff4\nADRL            X0, aGjfont02dPng; \"gjFont%02d.png\"                    ; +0x38, 0x1003b4ff8\nBL              sub_1003065B0                                          ; +0x40, 0x1003b5000\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x44, 0x1003b5004\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x48, 0x1003b5008\nADD             SP, SP, #0x30 ; '0'                                    ; +0x4c, 0x1003b500c\nB               cocos2d__CCString__getCString                          ; +0x50, 0x1003b5010\nADRL            X0, aBigfontPng; \"bigFont.png\"                         ; +0x54, 0x1003b5014\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x5c, 0x1003b501c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x60, 0x1003b5020\nADD             SP, SP, #0x30 ; '0'                                    ; +0x64, 0x1003b5024\nRET                                                                    ; +0x68, 0x1003b5028", "xrefs": ["GJBaseGameLayer::createTextLayers @ 0x10027d660", "GameObject::createWithKey @ 0x1002f1ad4", "LevelEditorLayer::updateLevelFont @ 0x100403c40"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}