//
// cocos2d::CCLabelTTF::setFontSize from 0x7d658a to 0x7d65b6 (44 bytes)
//
// 4 xrefs:
// > cocos2d::extension::CCControlButton::setTitleTTFSizeForState @ 0x7a72cc
// > cocos2d::extension::CCEditBoxImplAndroid::setFont @ 0x7b1008
// > cocos2d::extension::CCEditBoxImplAndroid::setFont @ 0x7b1028
// > cocos2d::extension::CCEditBoxImplAndroid::setPlaceholderFont @ 0x7b1058
//
// 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:39 +0000
//
int __fastcall cocos2d::CCLabelTTF::setFontSize(int this, float a2)
{
int v2; // r3
int v3; // r3
if ( *(float *)(this + 532) != a2 )
{
v2 = *(unsigned __int8 *)(this + 536);
*(float *)(this + 532) = a2;
if ( (v2 & 1) != 0 )
v3 = *(_DWORD *)(this + 540);
else
v3 = v2 >> 1;
if ( v3 )
return cocos2d::CCLabelTTF::updateTexture((cocos2d::CCLabelTTF *)this);
}
return this;
}