//
// cocos2d::CCLabelTTF::setString from 0x1800505d0 to 0x180050625 (85 bytes)
//
// 5 xrefs:
// > cocos2d::CCTextFieldTTF::deleteBackward @ 0x1800b9083
// > cocos2d::CCTextFieldTTF::setPlaceHolder @ 0x1800b9b13
// > ??> @ 0x1800f2ef0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bbf74
//
// 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::setString(void **this, char *a2)
{
size_t v4; // rax
if ( sub_18004FAF0((const void **)this + 5, a2) )
{
v4 = strlen(a2);
sub_1800101E0(this + 5, a2, v4);
cocos2d::CCLabelTTF::updateTexture((cocos2d::CCLabelTTF *)(this - 75));
}
}