//
// cocos2d::CCLabelTTF::setString from 0x1003a6f30 to 0x1003a6f7b (75 bytes)
//
// 3 xrefs:
// > cocos2d::CCTextFieldTTF::deleteBackward @ 0x1002690ce
// > cocos2d::CCTextFieldTTF::setPlaceHolder @ 0x100269718
// > ??> @ 0x100b336b8
//
// 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 12:29:22 +0000
//
int __fastcall cocos2d::CCLabelTTF::setString(__int64 a1, const std::string::value_type *a2)
{
int result; // eax
result = std::string::compare((const std::string *)(a1 + 640), a2);
if ( result )
{
std::string::assign((std::string *)(a1 + 640), a2);
return cocos2d::CCLabelTTF::updateTexture(a1);
}
return result;
}