//
// cocos2d::CCLabelTTF::updateTexture from 0x5ce3d0 to 0x5ce462 (146 bytes)
//
// 12 xrefs:
// > cocos2d::CCLabelTTF::setString @ 0x5ce48c
// > cocos2d::CCLabelTTF::setHorizontalAlignment @ 0x5ce4b0
// > cocos2d::CCLabelTTF::setVerticalAlignment @ 0x5ce4cc
// > cocos2d::CCLabelTTF::setDimensions @ 0x5ce512
// > cocos2d::CCLabelTTF::setFontSize @ 0x5ce53a
// > cocos2d::CCLabelTTF::setFontName @ 0x5ce58c
// > cocos2d::CCLabelTTF::enableShadow @ 0x5ce61a
// > cocos2d::CCLabelTTF::disableShadow @ 0x5ce62e
// > cocos2d::CCLabelTTF::enableStroke @ 0x5ce692
// > cocos2d::CCLabelTTF::disableStroke @ 0x5ce6a6
// > cocos2d::CCLabelTTF::setFontFillColor @ 0x5ce6de
// > cocos2d::CCLabelTTF::_updateWithTextDefinition @ 0x5ce778
//
// 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
//
bool cocos2d::CCLabelTTF::updateTexture(cocos2d::CCLabelTTF *a1)
{
cocos2d::CCTexture2D *v2; // r6
float v4[2]; // [sp+4h] [bp-18h] BYREF
cocos2d::CCRect v5; // [sp+Ch] [bp-10h] BYREF
cocos2d::_ccFontDefinition v6; // [sp+1Ch] [bp+0h] BYREF
v2 = (cocos2d::CCTexture2D *)operator new(0x60u);
cocos2d::CCTexture2D::CCTexture2D(v2);
cocos2d::CCLabelTTF::_prepareTextDefinition(&v6, a1, 1);
cocos2d::CCTexture2D::initWithString(v2, (const char *)a1->m_string.m_data.m_data, &v6);
a1->setTexture(a1, v2);
cocos2d::CCObject::release(v2);
cocos2d::CCRect::CCRect(&v5, &stru_AC8BA4);
((void (__fastcall *)(float *))a1->m_pobTexture->getContentSize)(v4);
cocos2d::CCSize::operator=(&v5.size, v4);
a1->setTextureRect(a1, &v5);
sub_774008(&v6);
return 1;
}