//
// cocos2d::CCLabelTTF::setDimensions from 0x18004e660 to 0x18004e6ad (77 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1cc8
//
// 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
//
void __fastcall cocos2d::CCLabelTTF::setDimensions(cocos2d::CCLabelTTF *this, struct cocos2d::CCSize *a2)
{
cocos2d::CCSize *p_m_tDimensions; // rcx
p_m_tDimensions = &this->m_tDimensions;
if ( a2->width != p_m_tDimensions->width || a2->height != this->m_tDimensions.height )
{
cocos2d::CCSize::operator=(p_m_tDimensions, a2);
if ( this->m_string.m_data.m_size )
cocos2d::CCLabelTTF::updateTexture(this);
}
}