//
// cocos2d::CCMenuItemFont::setFontName from 0x1003bf670 to 0x1003bf6be (78 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall cocos2d::CCMenuItemFont::setFontName(const char *a1)
{
if ( byte_1009A1290 == 1 )
{
if ( (*(_BYTE *)&_str.__r_.__value_.__s.0 & 1) != 0 )
{
*_str.__r_.__value_.__l.__data_ = 0;
_str.__r_.__value_.__l.__size_ = 0;
}
else
{
*(_WORD *)&_str.__r_.__value_.__l.0 = 0;
}
}
std::string::assign(&_str, a1);
byte_1009A1290 = 1;
}