//
// GameManager::getFontTexture from 0x10031823c to 0x1003182a8 (108 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::createTextLayers @ 0x1001e2fac
// > GameObject::createWithKey @ 0x100254930
// > LevelEditorLayer::updateLevelFont @ 0x100362214
//
// 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 v3; // w8
int v4; // w19
cocos2d::CCString *v5; // x0
if ( a2 >= 59 )
v3 = 59;
else
v3 = a2;
v4 = v3 & ~(v3 >> 31);
GameManager::loadFont(a1, v4);
if ( a2 < 1 )
return "bigFont.png";
v5 = (cocos2d::CCString *)sub_100268F4C("gjFont%02d.png", v4);
return cocos2d::CCString::getCString(v5);
}