//
// cocos2d::CCLabelTTF::setString from 0x100077110 to 0x100077158 (72 bytes)
//
// 4 xrefs:
// > sub_100077260 @ 0x100077264
// > cocos2d::CCTextFieldTTF::deleteBackward @ 0x1002636a4
// > cocos2d::CCTextFieldTTF::setPlaceHolder @ 0x100263aa4
// > ??> @ 0x1008c4378
//
// This function is hookable on this platform (idp: arm, 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 10:58:13 +0000
//
__int64 __fastcall cocos2d::CCLabelTTF::setString(__int64 a1, const std::string::value_type *a2)
{
__int64 result; // x0
result = std::string::compare((const std::string *)(a1 + 640), a2);
if ( (_DWORD)result )
{
std::string::assign((std::string *)(a1 + 640), a2);
return cocos2d::CCLabelTTF::updateTexture(a1);
}
return result;
}