//
// cocos2d::CCMenuItemFont::setFontName from 0x7de370 to 0x7de3ac (60 bytes)
//
// 0 xrefs:
//
// 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 12:00:47 +0000
//
_DWORD *__fastcall cocos2d::CCMenuItemFont::setFontName(cocos2d::CCMenuItemFont *this, const char *a2)
{
size_t v3; // r0
_DWORD *result; // r0
if ( byte_D2F448 )
{
if ( (dword_D2F43C & 1) != 0 )
{
*(_BYTE *)dword_D2F444 = 0;
dword_D2F440 = 0;
}
else
{
LOWORD(dword_D2F43C) = 0;
}
}
v3 = strlen((const char *)this);
result = std::string::assign(&dword_D2F43C, this, v3);
byte_D2F448 = 1;
return result;
}