//
// cocos2d::extension::CCEditBox::setFont from 0x180010c30 to 0x180010c99 (105 bytes)
//
// 2 xrefs:
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004a1a0
//
// 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 __fastcall cocos2d::extension::CCEditBox::setFont(void **this, char *a2, unsigned int a3)
{
size_t v5; // r8
__int64 v7; // rcx
v5 = -1;
do
++v5;
while ( a2[v5] );
sub_180003BC0(this + 84, a2, v5);
*((_DWORD *)this + 184) = a3;
if ( a2 )
{
v7 = (__int64)*(this + 72);
if ( v7 )
(*(void (__fastcall **)(__int64, char *, _QWORD))(*(_QWORD *)v7 + 16LL))(v7, a2, a3);
}
}