//
// cocos2d::extension::CCEditBox::setFont from 0x180010620 to 0x180010689 (105 bytes)
//
// 2 xrefs:
// > ??> @ 0x180032408
// > ??> @ 0x18004c080
//
// 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 12:15:39 +0000
//
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_1800035E0(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);
}
}