//
// cocos2d::CCLabelTTF::setDimensions from 0x1800504a0 to 0x1800504ed (77 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bbf5c
//
// This function is hookable on this platform (idp: pc, 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 11:21:45 +0000
//
void __fastcall cocos2d::CCLabelTTF::setDimensions(cocos2d::CCLabelTTF *this, const struct cocos2d::CCSize *a2)
{
float *v3; // rcx
v3 = (float *)((char *)this + 608);
if ( *(float *)a2 != *v3 || *((float *)a2 + 1) != *((float *)this + 153) )
{
cocos2d::CCSize::operator=(v3, a2);
if ( *((_QWORD *)this + 82) )
cocos2d::CCLabelTTF::updateTexture(this);
}
}