//
// cocos2d::CCString::boolValue from 0x180010360 to 0x1800103b9 (89 bytes)
//
// 7 xrefs:
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x18006a250
// > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008dd09
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1800941e4
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1800943c5
// > cocos2d::CCConfiguration::getBool @ 0x1800c08ba
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b8194
//
// 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:21:22 +0000
//
bool __fastcall cocos2d::CCString::boolValue(cocos2d::CCString *this)
{
bool v1; // cc
char *v2; // rbx
const char *v3; // rcx
if ( !*((_DWORD *)this + 18) )
return 0;
v1 = *((_QWORD *)this + 10) <= 0xFu;
v2 = (char *)this + 56;
v3 = (char *)this + 56;
if ( !v1 )
v3 = *(const char **)v2;
if ( !strcmp(v3, "0") )
return 0;
if ( *((_QWORD *)v2 + 3) > 0xFu )
v2 = *(char **)v2;
return strcmp(v2, "false") != 0;
}