//
// cocos2d::CCString::boolValue from 0xad3918 to 0xad3984 (108 bytes)
//
// 87 xrefs:
// > CCAnimatedSprite::loadType @ 0x570844
// > CCAnimatedSprite::loadType @ 0x57085c
// > SpriteDescription::initDescription @ 0x572e14
// > SpriteAnimationManager::createAnimations @ 0x58e7f4
// > SpriteAnimationManager::createAnimations @ 0x58e9e8
// > SpriteAnimationManager::loadAnimations @ 0x590ca4
// > SpriteAnimationManager::loadAnimations @ 0x590ce4
// > SpriteAnimationManager::loadAnimations @ 0x590d20
// > GameManager::getGameVariable @ 0x5eca5c
// > GameManager::getUGV @ 0x5ecdec
// > GameManager::isIconUnlocked @ 0x5f2868
// > GameManager::isColorUnlocked @ 0x5f2d6c
// > LevelSettingsObject::setupColorsFromLegacyMode @ 0x667e3c
// > LevelSettingsObject::setupColorsFromLegacyMode @ 0x667e78
// > LevelSettingsObject::objectFromDict @ 0x668a30
// > LevelSettingsObject::objectFromDict @ 0x668a6c
// > LevelSettingsObject::objectFromDict @ 0x668ae4
// > LevelSettingsObject::objectFromDict @ 0x668b20
// > LevelSettingsObject::objectFromDict @ 0x668b5c
// > LevelSettingsObject::objectFromDict @ 0x668b98
// > LevelSettingsObject::objectFromDict @ 0x668bd4
// > LevelSettingsObject::objectFromDict @ 0x668c10
// > LevelSettingsObject::objectFromDict @ 0x668c4c
// > LevelSettingsObject::objectFromDict @ 0x668df0
// > LevelSettingsObject::objectFromDict @ 0x668ee0
// > LevelSettingsObject::objectFromDict @ 0x668f1c
// > LevelSettingsObject::objectFromDict @ 0x668f58
// > LevelSettingsObject::objectFromDict @ 0x668f94
// > LevelSettingsObject::objectFromDict @ 0x668fd0
// > LevelSettingsObject::objectFromDict @ 0x66900c
// > LevelSettingsObject::objectFromDict @ 0x669048
// > LevelSettingsObject::objectFromDict @ 0x669084
// > LevelSettingsObject::objectFromDict @ 0x6690c0
// > LevelSettingsObject::objectFromDict @ 0x6690fc
// > LevelSettingsObject::objectFromDict @ 0x669138
// > LevelSettingsObject::objectFromDict @ 0x669174
// > LevelSettingsObject::objectFromDict @ 0x6691b0
// > LevelSettingsObject::objectFromDict @ 0x6691ec
// > LevelSettingsObject::objectFromDict @ 0x669228
// > LevelSettingsObject::objectFromDict @ 0x669264
// > LevelSettingsObject::objectFromDict @ 0x6692a0
// > LevelSettingsObject::objectFromDict @ 0x669318
// > LevelSettingsObject::objectFromDict @ 0x669390
// > LevelSettingsObject::objectFromDict @ 0x6693cc
// > LevelSearchLayer::checkDiff @ 0x6ced00
// > LevelSearchLayer::toggleDifficulty @ 0x6cf19c
// > LevelSearchLayer::checkTime @ 0x6cf41c
// > LevelSearchLayer::init @ 0x6d2c7c
// > GameLevelManager::getDiffVal @ 0x6ffe90
// > GameLevelManager::getLenVal @ 0x7000d8
// > GameLevelManager::getBoolForKey @ 0x70061c
// > GJGameLevel::create @ 0x702760
// > GJGameLevel::create @ 0x702864
// > GJGameLevel::create @ 0x702968
// > GJGameLevel::create @ 0x702af8
// > GJGameLevel::create @ 0x702f4c
// > GJGameLevel::create @ 0x702ff0
// > GameLevelManager::processOnDownloadLevelCompleted @ 0x7073e8
// > GJUserScore::create @ 0x70ed10
// > GJUserScore::create @ 0x70eeec
// > GJUserScore::create @ 0x70f3cc
// > GJUserMessage::create @ 0x713dbc
// > GJUserMessage::create @ 0x713dfc
// > GJSearchObject::createFromKey @ 0x7157f0
// > GJSearchObject::createFromKey @ 0x715804
// > GJSearchObject::createFromKey @ 0x715818
// > GJSearchObject::createFromKey @ 0x715840
// > GJSearchObject::createFromKey @ 0x715854
// > GJSearchObject::createFromKey @ 0x715868
// > GJSearchObject::createFromKey @ 0x71587c
// > GJSearchObject::createFromKey @ 0x715890
// > GJSearchObject::createFromKey @ 0x7158a4
// > GJSearchObject::createFromKey @ 0x7158b8
// > GJSearchObject::createFromKey @ 0x7158cc
// > GJSearchObject::createFromKey @ 0x7158e0
// > GJSearchObject::createFromKey @ 0x7158f4
// > GJComment::create @ 0x716f34
// > GJLevelList::create @ 0x72f528
// > GameStatsManager::isItemEnabled @ 0x7bce0c
// > SongInfoObject::create @ 0x8356b8
// > MusicDownloadManager::addSongObjectFromString @ 0x836740
// > cocos2d::CCConfiguration::getBool @ 0xab0494
// > cocos2d::CCParticleSystem::initWithDictionary @ 0xb00780
// > cocos2d::CCAnimationCache::parseVersion2 @ 0xb13f14
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0xb1a048
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0xb1a3b8
// > ??> @ 0xb5c80
//
// 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
//
bool cocos2d::CCString::boolValue(cocos2d::CCString *a1)
{
stl::StringData::Internal *m_data; // x20
bool result; // w0
result = cocos2d::CCString::length(a1)
&& (m_data = a1->m_sString.m_data.m_data, strcmp((const char *)m_data, "0"))
&& strcmp((const char *)m_data, "false") != 0;
return result;
}