//
// cocos2d::extension::CCEditBox::setFontSize from 0xd1b824 to 0xd1b888 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0xf9928
//
// 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::setFontSize(__int64 this, unsigned int a2)
{
__int64 v2; // x4
int v3; // w2
__int64 v4; // x3
v2 = *(_QWORD *)(this + 576);
*(_DWORD *)(this + 704) = a2;
if ( v2 )
{
v3 = *(unsigned __int8 *)(this + 656);
v4 = this + 656;
if ( (v3 & 1) != 0 )
{
this = *(_QWORD *)(this + 664);
if ( this )
return (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)v2 + 24LL))(v2, *(_QWORD *)(v4 + 16), a2);
}
else if ( v3 >> 1 )
{
return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v2 + 24LL))(v2, this + 657, a2);
}
}
return this;
}