//
// cocos2d::CCLabelTTF::setString from 0xae9288 to 0xae92ec (100 bytes)
//
// 7 xrefs:
// > `non-virtual thunk to'cocos2d::CCLabelTTF::setString @ 0xae92f0
// > cocos2d::CCTextFieldTTF::deleteBackward @ 0xb30938
// > cocos2d::CCTextFieldTTF::setString @ 0xb30be4
// > cocos2d::CCTextFieldTTF::setString @ 0xb30c6c
// > cocos2d::CCTextFieldTTF::setPlaceHolder @ 0xb30e04
// > ??> @ 0x49c98
// > ??> @ 0x1203438
//
// 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 cocos2d::CCLabelTTF::setString(cocos2d::CCLabelTTF *a1, const char *a2)
{
std::string *p_m_string; // x20
size_t v5; // x0
p_m_string = &a1->m_string;
if ( (unsigned int)sub_D171E0((int)a1 + 640, (char *)a2) )
{
v5 = strlen(a2);
sub_D1798C(p_m_string, a2, v5);
cocos2d::CCLabelTTF::updateTexture(a1);
}
}