//
// GameManager::getFontTexture from 0x5ebc3c to 0x5ebc9c (96 bytes)
//
// 4 xrefs:
// > GameObject::createWithKey @ 0x654488
// > LevelEditorLayer::updateLevelFont @ 0x660e90
// > GJBaseGameLayer::createTextLayers @ 0x858508
// > ??> @ 0xb37d8
//
// 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 *GameManager::getFontTexture(GameManager *a1, int a2)
{
unsigned int v2; // w19
cocos2d::CCString *v3; // x0
if ( a2 < 0 )
{
GameManager::loadFont(a1, 0);
}
else
{
if ( a2 > 59 )
v2 = 59;
else
v2 = a2;
GameManager::loadFont(a1, v2);
if ( v2 )
{
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"gjFont%02d.png",
(const char *)v2);
return cocos2d::CCString::getCString(v3);
}
}
return "bigFont.png";
}