//
// cocos2d::extension::CCEditBox::setFontName from 0xaa99f4 to 0xaa9a50 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0xbb488
//
// 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 cocos2d::extension::CCEditBox::setFontName(cocos2d::extension::CCEditBox *a1, const char *a2)
{
size_t v4; // x0
long double v5; // q0
__int64 v6; // x0
v4 = strlen(a2);
*(__n128 *)&v5 = sub_D1798C(&a1[1].m_sTransform.b, a2, v4);
v6 = *(_QWORD *)&a1[1].m_obAnchorPointInPoints.y;
if ( v6 )
{
if ( LODWORD(a1[1].m_sTransform.ty) != -1 )
(*(void (__fastcall **)(__int64, const char *, long double))(*(_QWORD *)v6 + 24LL))(v6, a2, v5);
}
}