//
// cocos2d::CCMenuItemFont::setFontName from 0x18005d8d0 to 0x18005d92b (91 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd18c
//
// 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 11:21:49 +0000
//
void __fastcall cocos2d::CCMenuItemFont::setFontName(char *Src)
{
void **v2; // rax
size_t v3; // rax
if ( byte_1801B2420 )
{
v2 = &qword_1801B2400;
Size = 0;
if ( *(&Size + 1) > 0xF )
v2 = (void **)qword_1801B2400;
*(_BYTE *)v2 = 0;
}
v3 = strlen(Src);
sub_1800101E0(&qword_1801B2400, Src, v3);
byte_1801B2420 = 1;
}