//
// cocos2d::cc_wcslen from 0x180098d40 to 0x180098d5d (29 bytes)
//
// 4 xrefs:
// > sub_180048F90 @ 0x180048fb2
// > cocos2d::CCLabelBMFont::createFontChars @ 0x18004949b
// > cocos2d::CCLabelBMFont::updateLabel @ 0x18004f06e
// > ??> @ 0x18014cf68
//
// 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 11:22:10 +0000
//
__int64 __fastcall cocos2d::cc_wcslen(cocos2d *this, const unsigned __int16 *a2)
{
__int64 result; // rax
for ( result = 0; *(_WORD *)this; result = (unsigned int)(result + 1) )
this = (cocos2d *)((char *)this + 2);
return result;
}