//
// cocos2d::CCLabelTTF::setString from 0x18004e7f0 to 0x18004e852 (98 bytes)
//
// 6 xrefs:
// > cocos2d::CCTextFieldTTF::deleteBackward @ 0x1800b5347
// > cocos2d::CCTextFieldTTF::setPlaceHolder @ 0x1800b5ecd
// > cocos2d::CCTextFieldTTF::setString @ 0x1800b6199
// > ??> @ 0x1800ecdb0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1ce0
//
// 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::setString(cocos2d::CCLabelTTF *this, char *a2)
{
size_t v4; // r8
if ( sub_18004DCF0(&this->m_unknown2, a2) )
{
v4 = -1;
do
++v4;
while ( a2[v4] );
sub_180010050((void **)&this->m_unknown2, a2, v4);
cocos2d::CCLabelTTF::updateTexture((cocos2d::CCLabelTTF *)((char *)this - 600));
}
}