//
// cocos2d::CCLabelTTF::setDimensions from 0x5ce4d2 to 0x5ce518 (70 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
//
cocos2d::CCLabelTTF *__fastcall cocos2d::CCLabelTTF::setDimensions(
cocos2d::CCLabelTTF *this,
const cocos2d::CCSize *a2)
{
cocos2d::CCLabelTTF *v2; // r4
v2 = this;
if ( a2->width != this->m_tDimensions.width || a2->height != this->m_tDimensions.height )
{
this = (cocos2d::CCLabelTTF *)cocos2d::CCSize::operator=(&this->m_tDimensions, &a2->width);
if ( *((_DWORD *)v2->m_string.m_data.m_data - 3) )
return (cocos2d::CCLabelTTF *)cocos2d::CCLabelTTF::updateTexture(v2);
}
return this;
}