//
// cocos2d::CCLabelTTF::getFontName from 0x1003bdf80 to 0x1003bdf9b (27 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCControlButton::getTitleTTFForState @ 0x1003545d8
//
// 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 cocos2d::CCLabelTTF::getFontName(cocos2d::CCLabelTTF *a1)
{
std::string *m_pFontName; // rax
m_pFontName = a1->m_pFontName;
if ( (m_pFontName->m_data.m_short.sizex2 & 1) != 0 )
return m_pFontName->m_data.m_long.longStorage;
else
return m_pFontName->m_data.m_short.shortStorage.__elems_;
}