//
// GameManager::getFontFile from 0x5ebbdc to 0x5ebc3c (96 bytes)
//
// 8 xrefs:
// > PlayLayer::setupHasCompleted @ 0x5dc5fc
// > TextGameObject::updateTextObject @ 0x656434
// > LabelGameObject::createLabel @ 0x761efc
// > CustomizeObjectLayer::init @ 0x84354c
// > CustomizeObjectLayer::init @ 0x843794
// > SelectFontLayer::updateFontLabel @ 0x8c6a58
// > SecretLayer5::init @ 0xa9652c
// > ??> @ 0x93c60
//
// 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::getFontFile(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.fnt",
(const char *)v2);
return cocos2d::CCString::getCString(v3);
}
}
return "bigFont.fnt";
}