//
// cocos2d::extension::CCEditBox::setFontSize from 0x1004aa890 to 0x1004aa8e8 (88 bytes)
//
// 0 xrefs:
//
// 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::setFontSize(cocos2d::extension::CCEditBox *a1, int a2)
{
__int64 v4; // rdi
char d_low; // al
LODWORD(a1[1].m_pUserData) = a2;
v4 = *(_QWORD *)&a1[1].m_obAnchorPointInPoints.y;
if ( v4 )
{
d_low = LOBYTE(a1[1].m_sInverse.d);
if ( (d_low & 1) != 0 )
{
if ( *(_QWORD *)&a1[1].m_sInverse.ty )
(*(void (__fastcall **)(__int64, cocos2d::CCCamera *))(*(_QWORD *)v4 + 24LL))(v4, a1[1].m_pCamera);
}
else if ( d_low )
{
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v4 + 24LL))(v4, (char *)&a1[1].m_sInverse.d + 1);
}
}
}