//
// cocos2d::CCLabelTTF::setDimensions from 0x7d653e to 0x7d658a (76 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:39 +0000
//
float *__fastcall cocos2d::CCLabelTTF::setDimensions(float *this, const cocos2d::CCSize *a2)
{
float *v2; // r4
int v3; // r3
int v4; // r3
v2 = this;
if ( *(float *)a2 != *(this + 128) || *((float *)a2 + 1) != *(this + 129) )
{
this = cocos2d::CCSize::operator=(this + 128, (float *)a2);
v3 = *((unsigned __int8 *)v2 + 536);
if ( (v3 & 1) != 0 )
v4 = *((_DWORD *)v2 + 135);
else
v4 = v3 >> 1;
if ( v4 )
return (float *)cocos2d::CCLabelTTF::updateTexture((cocos2d::CCLabelTTF *)v2);
}
return this;
}