//
// cocos2d::extension::CCEditBox::setFontName from 0xd1bc68 to 0xd1bcc4 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0xf4408
//
// This function is hookable on this platform (idp: arm, 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 13:07:09 +0000
//
__int64 __fastcall cocos2d::extension::CCEditBox::setFontName(cocos2d::extension::CCEditBox *this, const char *a2)
{
size_t v4; // x0
__int64 result; // x0
v4 = strlen(a2);
std::string::assign((__int64 *)this + 82, a2, v4);
result = *((_QWORD *)this + 72);
if ( result )
{
if ( *((_DWORD *)this + 176) != -1 )
return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)result + 24LL))(result, a2);
}
return result;
}