//
// cocos2d::extension::CCEditBox::setFontSize from 0x7b0a60 to 0x7b0aa2 (66 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:06 +0000
//
int __fastcall cocos2d::extension::CCEditBox::setFontSize(cocos2d::extension::CCEditBox *this, int a2)
{
int result; // r0
unsigned int v5; // r1
int (__fastcall *v6)(int, char *, int); // r4
char *v7; // r1
*((_DWORD *)this + 123) = a2;
result = *((_DWORD *)this + 106);
if ( result )
{
v5 = *((unsigned __int8 *)this + 468);
if ( (v5 & 1) != 0 )
{
if ( !*((_DWORD *)this + 118) )
return result;
v6 = *(int (__fastcall **)(int, char *, int))(*(_DWORD *)result + 12);
v7 = *((char **)this + 119);
return v6(result, v7, a2);
}
if ( v5 >> 1 )
{
v6 = *(int (__fastcall **)(int, char *, int))(*(_DWORD *)result + 12);
v7 = (char *)this + 469;
return v6(result, v7, a2);
}
}
return result;
}