//
// cocos2d::CCMenuItemFont::setFontName from 0x1003a8a70 to 0x1003a8abe (78 bytes)
//
// 0 xrefs:
//
// 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:22 +0000
//
std::string *__fastcall cocos2d::CCMenuItemFont::setFontName(std::string::value_type *__s)
{
std::string *result; // rax
if ( byte_100BE3510 == 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;
}
}
result = std::string::assign(&_str, __s);
byte_100BE3510 = 1;
return result;
}