//
// cocos2d::CCLabelTTF::setString from 0x7d64b4 to 0x7d64f2 (62 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'cocos2d::CCLabelTTF::setString @ 0x7d64f6
// > cocos2d::CCTextFieldTTF::deleteBackward @ 0x7fef22
// > cocos2d::CCTextFieldTTF::setPlaceHolder @ 0x7ff036
//
// 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::setString(cocos2d::CCLabelTTF *this, char *a2)
{
unsigned __int8 *v2; // r7
size_t v5; // r6
int result; // r0
v2 = (unsigned __int8 *)this + 536;
v5 = strlen(a2);
result = std::string::compare(v2, 0, 0xFFFFFFFF, a2, v5);
if ( result )
{
std::string::assign(v2, a2, v5);
return cocos2d::CCLabelTTF::updateTexture(this);
}
return result;
}