//
// cocos2d::CCLabelBMFont::setString_1 from 0x100398718 to 0x1003987a0 (136 bytes)
//
// 2 xrefs:
// > ??> @ 0x1008b90f0
// > ??> @ 0x100941f98
//
// 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 11:03:42 +0000
//
void __fastcall cocos2d::CCLabelBMFont::setString_1(__int64 a1, std::string::value_type *a2, __int64 a3)
{
std::string::value_type *v5; // x21
_WORD *v6; // x21
if ( a2 )
v5 = a2;
else
v5 = "";
if ( (_DWORD)a3 )
std::string::assign((std::string *)(a1 + 416), v5);
v6 = cocos2d::cc_utf8_to_utf16(v5, nullptr);
(*(void (__fastcall **)(__int64, _WORD *, __int64))(*(_QWORD *)a1 + 1104LL))(a1, v6, a3);
if ( v6 )
operator delete[](v6);
}