//
// cocos2d::CCString::length from 0x100268c5c to 0x100268c74 (24 bytes)
//
// 1 xrefs:
// > cocos2d::CCFileUtils::getNewFilename @ 0x100150de8
//
// 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
//
unsigned int __fastcall cocos2d::CCString::length(cocos2d::CCString *a1)
{
__int64 v2; // x0
v2 = a1->m_sString.m_data.m_short.shortStorage.__elems_[22];
if ( v2 < 0 )
return a1->m_sString.m_data.m_long.size;
return v2;
}