//
// cocos2d::CCLabelBMFont::setString_1 from 0x1006ab0a0 to 0x1006ab111 (113 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b6aa88
// > ??> @ 0x100b86fe8
//
// 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:35:21 +0000
//
void __fastcall cocos2d::CCLabelBMFont::setString_1(__int64 a1, std::string::value_type *a2, int a3)
{
unsigned __int8 v3; // bl
std::string::value_type *v4; // r15
void *v5; // r15
v3 = a3;
v4 = (std::string::value_type *)"";
if ( a2 )
v4 = a2;
if ( a3 )
std::string::assign((std::string *)(a1 + 416), v4);
v5 = (void *)cocos2d::cc_utf8_to_utf16(v4);
(*(void (__fastcall **)(__int64, void *, _QWORD))(*(_QWORD *)a1 + 1104LL))(a1, v5, v3);
if ( v5 )
operator delete[](v5);
}