//
// GameManager::getFontFile from 0x1003181d0 to 0x10031823c (108 bytes)
//
// 7 xrefs:
// > CustomizeObjectLayer::init @ 0x10004ea00
// > CustomizeObjectLayer::init @ 0x10004ec6c
// > SecretLayer5::init @ 0x1000748f4
// > PlayLayer::setupHasCompleted @ 0x100116c34
// > TextGameObject::updateTextObject @ 0x100265010
// > SelectFontLayer::updateFontLabel @ 0x1002d2338
// > LabelGameObject::createLabel @ 0x100388b2c
//
// 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::getFontFile(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.fnt";
v5 = (cocos2d::CCString *)sub_100268F4C("gjFont%02d.fnt", v4);
return cocos2d::CCString::getCString(v5);
}