//
// cocos2d::CCLabelTTF::updateTexture from 0x7d640c to 0x7d64aa (158 bytes)
//
// 12 xrefs:
// > cocos2d::CCLabelTTF::setString @ 0x7d64ea
// > cocos2d::CCLabelTTF::setHorizontalAlignment @ 0x7d6516
// > cocos2d::CCLabelTTF::setVerticalAlignment @ 0x7d6538
// > cocos2d::CCLabelTTF::setDimensions @ 0x7d6584
// > cocos2d::CCLabelTTF::setFontSize @ 0x7d65b0
// > cocos2d::CCLabelTTF::setFontName @ 0x7d6622
// > cocos2d::CCLabelTTF::enableShadow @ 0x7d66a2
// > cocos2d::CCLabelTTF::disableShadow @ 0x7d66b6
// > cocos2d::CCLabelTTF::enableStroke @ 0x7d671a
// > cocos2d::CCLabelTTF::disableStroke @ 0x7d672e
// > cocos2d::CCLabelTTF::setFontFillColor @ 0x7d6766
// > cocos2d::CCLabelTTF::_updateWithTextDefinition @ 0x7d681c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:39 +0000
//
int __fastcall cocos2d::CCLabelTTF::updateTexture(cocos2d::CCLabelTTF *this)
{
cocos2d::CCTexture2D *v2; // r5
const char *v3; // r1
float v5[2]; // [sp+4h] [bp-18h] BYREF
_BYTE v6[8]; // [sp+Ch] [bp-10h] BYREF
float v7[2]; // [sp+14h] [bp-8h] BYREF
_BYTE v8[64]; // [sp+1Ch] [bp+0h] BYREF
v2 = (cocos2d::CCTexture2D *)operator new(0x60u);
cocos2d::CCTexture2D::CCTexture2D(v2);
cocos2d::CCLabelTTF::_prepareTextDefinition((cocos2d::CCLabelTTF *)v8, (int)this, 1);
if ( (*((_BYTE *)this + 536) & 1) != 0 )
v3 = *((const char **)this + 136);
else
v3 = (char *)this + 537;
cocos2d::CCTexture2D::initWithString(v2, v3, (cocos2d::_ccFontDefinition *)v8);
(*(void (__fastcall **)(cocos2d::CCLabelTTF *, cocos2d::CCTexture2D *))(*(_DWORD *)this + 532))(this, v2);
cocos2d::CCObject::release(v2);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v6, (const cocos2d::CCRect *)&unk_D2F2EC);
(*(void (__fastcall **)(float *))(**((_DWORD **)this + 83) + 72))(v5);
cocos2d::CCSize::operator=(v7, v5);
(*(void (__fastcall **)(cocos2d::CCLabelTTF *, _BYTE *))(*(_DWORD *)this + 568))(this, v6);
std::string::~string((int)v8);
return 1;
}