//
// GameManager::getFontFile from 0x414594 to 0x4145c0 (44 bytes)
//
// 7 xrefs:
// > PlayLayer::setupHasCompleted @ 0x40a2c8
// > TextGameObject::updateTextObject @ 0x45ad8e
// > LabelGameObject::createLabel @ 0x4f5fda
// > CustomizeObjectLayer::init @ 0x580712
// > CustomizeObjectLayer::init @ 0x5808dc
// > SelectFontLayer::updateFontLabel @ 0x5d4634
// > SecretLayer5::init @ 0x6e630e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:47:39 +0000
//
const char *__fastcall GameManager::getFontFile(GameManager *this, int a2)
{
const char *v2; // r4
cocos2d::CCString *v3; // r0
if ( a2 >= 59 )
a2 = 59;
v2 = (const char *)(a2 & ~(a2 >> 31));
GameManager::loadFont((int)this, (int)v2);
if ( !v2 )
return "bigFont.fnt";
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"gjFont%02d.fnt", v2);
return (const char *)cocos2d::CCString::getCString(v3);
}