//
// cocos2d::cc_utf16_vec_from_utf16_str from 0x10024200c to 0x10024207c (112 bytes)
//
// 1 xrefs:
// > cocos2d::CCLabelBMFont::updateLabel @ 0x100398df4
//
// 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:01:24 +0000
//
_WORD *__usercall cocos2d::cc_utf16_vec_from_utf16_str@(_WORD *result@, _QWORD *a2@)
{
_WORD *v3; // x20
__int64 v4; // x21
if ( *result )
{
v3 = result;
v4 = 0;
while ( result[++v4] )
;
*a2 = 0;
a2[1] = 0;
a2[2] = 0;
do
{
result = (_WORD *)sub_100242098(a2, v3++);
--v4;
}
while ( v4 );
}
else
{
*a2 = 0;
a2[1] = 0;
a2[2] = 0;
}
return result;
}