//
// GameManager::getFontFile from 0x10036c4b0 to 0x10036c500 (80 bytes)
//
// 7 xrefs:
// > PlayLayer::setupHasCompleted @ 0x10007b715
// > LabelGameObject::createLabel @ 0x1001a18d7
// > CustomizeObjectLayer::init @ 0x1001d8b41
// > CustomizeObjectLayer::init @ 0x1001d8de0
// > SelectFontLayer::updateFontLabel @ 0x100285781
// > SecretLayer5::init @ 0x10046f531
// > TextGameObject::updateTextObject @ 0x1006a319d
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:29:00 +0000
//
const std::string::value_type *__fastcall GameManager::getFontFile(__int64 a1, int a2)
{
int v2; // eax
int v3; // ebx
__int64 v4; // rax
char v6; // [rsp+0h] [rbp-10h]
v2 = 59;
if ( a2 < 59 )
v2 = a2;
v3 = 0;
if ( v2 > 0 )
v3 = v2;
GameManager::loadFont(a1, v3);
if ( a2 <= 0 )
return "bigFont.fnt";
v4 = sub_10088E820("gjFont%02d.fnt", v6);
return (const std::string::value_type *)cocos2d::CCString::getCString(v4);
}