//
// cocos2d::CCLabelTTF::setDimensions from 0xae933c to 0xae939c (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x96588
//
// 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, cocos2d::CCSize *a2)
{
cocos2d::CCLabelTTF *v2; // x19
if ( a2->width != this->m_tDimensions.width || a2->height != this->m_tDimensions.height )
{
v2 = this;
cocos2d::CCSize::operator=(&this->m_tDimensions, (float *)a2);
this = *((cocos2d::CCLabelTTF **)v2->m_string.m_data.m_data - 3);
if ( this )
return (cocos2d::CCLabelTTF *)cocos2d::CCLabelTTF::updateTexture(v2);
}
return this;
}