//
// cocos2d::CCLabelTTF::setFontSize from 0xd5afec to 0xd5b018 (44 bytes)
//
// 5 xrefs:
// > cocos2d::extension::CCControlButton::setTitleTTFSizeForState @ 0xd0ca48
// > cocos2d::extension::CCEditBoxImplAndroid::setFont @ 0xd1c2e0
// > cocos2d::extension::CCEditBoxImplAndroid::setFont @ 0xd1c308
// > cocos2d::extension::CCEditBoxImplAndroid::setPlaceholderFont @ 0xd1c350
// > ??> @ 0x91318
//
// 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:46 +0000
//
__int64 __fastcall cocos2d::CCLabelTTF::setFontSize(__int64 this, float a2)
{
unsigned __int8 v2; // w1
__int64 v3; // x2
if ( *(float *)(this + 632) != a2 )
{
v2 = *(_BYTE *)(this + 640);
*(float *)(this + 632) = a2;
v3 = v2 >> 1;
if ( (v2 & 1) != 0 )
v3 = *(_QWORD *)(this + 648);
if ( v3 )
return cocos2d::CCLabelTTF::updateTexture((cocos2d::CCLabelTTF *)this);
}
return this;
}