//
// cocos2d::CCLabelBMFont::setString_1 from 0x1005d9750 to 0x1005d97c1 (113 bytes)
//
// 2 xrefs:
// > ??> @ 0x10095df70
// > ??> @ 0x100974458
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCLabelBMFont::setString_1(cocos2d::CCLabelBMFont *a1, const char *a2, bool a3)
{
const char *v4; // r15
unsigned __int16 *v5; // r15
v4 = "";
if ( a2 )
v4 = a2;
if ( a3 )
std::string::assign((std::string *)&a1->m_sInitialStringUTF8, v4);
v5 = cocos2d::cc_utf8_to_utf16(v4, nullptr);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, unsigned __int16 *, bool))a1->setString_1)(a1, v5, a3);
if ( v5 )
operator delete[](v5);
}