//
// cocos2d::CCString::length from 0x7c89f8 to 0x7c8a06 (14 bytes)
//
// 7 xrefs:
// > cocos2d::CCString::intValue @ 0x7c8a0a
// > cocos2d::CCString::uintValue @ 0x7c8a2c
// > cocos2d::CCString::floatValue @ 0x7c8a50
// > cocos2d::CCString::doubleValue @ 0x7c8a84
// > cocos2d::CCString::boolValue @ 0x7c8aac
// > cocos2d::CCFileUtils::getNewFilename @ 0x7e75b0
// > cocos2d::CCAnimationCache::parseVersion2 @ 0x7f0492
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:27 +0000
//
int __fastcall cocos2d::CCString::length(cocos2d::CCString *this)
{
int v1; // r3
v1 = *((unsigned __int8 *)this + 52);
if ( (v1 & 1) != 0 )
return *((_DWORD *)this + 14);
else
return v1 >> 1;
}