//
// GameManager::getFontTexture from 0x4145c8 to 0x4145f4 (44 bytes)
//
// 3 xrefs:
// > GameObject::createWithKey @ 0x45bb6a
// > LevelEditorLayer::updateLevelFont @ 0x466f16
// > GJBaseGameLayer::createTextLayers @ 0x58cab6
//
// 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::getFontTexture(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.png";
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"gjFont%02d.png", v2);
return (const char *)cocos2d::CCString::getCString(v3);
}