//
// cocos2d::extension::CCEditBox::setFont from 0xd1bd28 to 0xd1bd8c (100 bytes)
//
// 1 xrefs:
// > ??> @ 0xf4840
//
// 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::setFont(
cocos2d::extension::CCEditBox *this,
const char *a2,
unsigned int a3)
{
size_t v6; // x0
__int64 result; // x0
v6 = strlen(a2);
std::string::assign((__int64 *)this + 82, a2, v6);
*((_DWORD *)this + 176) = a3;
result = *((_QWORD *)this + 72);
if ( result )
return (*(__int64 (__fastcall **)(__int64, const char *, _QWORD))(*(_QWORD *)result + 24LL))(result, a2, a3);
return result;
}