//
// cocos2d::cc_wcslen from 0x100241fe0 to 0x10024200c (44 bytes)
//
// 3 xrefs:
// > cocos2d::CCLabelBMFont::createFontChars @ 0x1003980ec
// > sub_10039887C @ 0x100398894
// > cocos2d::CCLabelBMFont::updateLabel @ 0x1003991e0
//
// 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
//
__int64 __fastcall cocos2d::cc_wcslen(_WORD *a1)
{
__int64 result; // x0
_WORD *v3; // x8
if ( !*a1 )
return 0;
result = 0;
v3 = a1 + 1;
while ( v3[result++] )
;
return result;
}