//
// GameManager::getFontTexture from 0x10036c500 to 0x10036c550 (80 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updateLevelFont @ 0x1000c4b8e
// > GJBaseGameLayer::createTextLayers @ 0x1000fbcd4
// > GameObject::createWithKey @ 0x10066ed31
//
// 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 char *__fastcall GameManager::getFontTexture(__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.png";
v4 = sub_10088E820("gjFont%02d.png", v6);
return (const char *)cocos2d::CCString::getCString(v4);
}