//
// GameManager::getFontTexture from 0x100383120 to 0x100383170 (80 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updateLevelFont @ 0x1000f143e
// > GJBaseGameLayer::createTextLayers @ 0x10011f9c4
// > GameObject::createWithKey @ 0x10059d609
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
const char *__fastcall GameManager::getFontTexture(GameManager *a1, int a2)
{
int v2; // eax
int v3; // ebx
cocos2d::CCString *v4; // rax
char v6; // [rsp+0h] [rbp-10h]
v2 = 59;
if ( a2 < 59 )
v2 = a2;
v3 = 0;
if ( v2 > 0 )
v3 = v2;
GameManager::loadFont(a1, v3);
if ( a2 <= 0 )
return "bigFont.png";
v4 = (cocos2d::CCString *)sub_1007AB580("gjFont%02d.png", v6);
return cocos2d::CCString::getCString(v4);
}