//
// cocos2d::CCString::boolValue from 0x5c1b9c to 0x5c1bc6 (42 bytes)
//
// 86 xrefs:
// > CCAnimatedSprite::loadType @ 0x2e3e7e
// > CCAnimatedSprite::loadType @ 0x2e3e88
// > SpriteDescription::initDescription @ 0x2e4dbc
// > SpriteAnimationManager::createAnimations @ 0x2f2fae
// > SpriteAnimationManager::createAnimations @ 0x2f30ba
// > SpriteAnimationManager::loadAnimations @ 0x2f3c04
// > SpriteAnimationManager::loadAnimations @ 0x2f3c22
// > SpriteAnimationManager::loadAnimations @ 0x2f3c40
// > GameManager::getGameVariable @ 0x322da4
// > GameManager::getUGV @ 0x322eb4
// > GameManager::isIconUnlocked @ 0x325756
// > GameManager::isColorUnlocked @ 0x32593c
// > LevelSettingsObject::setupColorsFromLegacyMode @ 0x36c812
// > LevelSettingsObject::setupColorsFromLegacyMode @ 0x36c832
// > LevelSettingsObject::objectFromDict @ 0x36cad2
// > LevelSettingsObject::objectFromDict @ 0x36caf6
// > LevelSettingsObject::objectFromDict @ 0x36cb3e
// > LevelSettingsObject::objectFromDict @ 0x36cb62
// > LevelSettingsObject::objectFromDict @ 0x36cb86
// > LevelSettingsObject::objectFromDict @ 0x36cbaa
// > LevelSettingsObject::objectFromDict @ 0x36cbce
// > LevelSettingsObject::objectFromDict @ 0x36cbf2
// > LevelSettingsObject::objectFromDict @ 0x36cc16
// > LevelSettingsObject::objectFromDict @ 0x36cd14
// > LevelSettingsObject::objectFromDict @ 0x36cda4
// > LevelSettingsObject::objectFromDict @ 0x36cdc8
// > LevelSettingsObject::objectFromDict @ 0x36cdec
// > LevelSettingsObject::objectFromDict @ 0x36ce10
// > LevelSettingsObject::objectFromDict @ 0x36ce34
// > LevelSettingsObject::objectFromDict @ 0x36ce58
// > LevelSettingsObject::objectFromDict @ 0x36ce7c
// > LevelSettingsObject::objectFromDict @ 0x36cea0
// > LevelSettingsObject::objectFromDict @ 0x36cec4
// > LevelSettingsObject::objectFromDict @ 0x36ceea
// > LevelSettingsObject::objectFromDict @ 0x36cf0e
// > LevelSettingsObject::objectFromDict @ 0x36cf32
// > LevelSettingsObject::objectFromDict @ 0x36cf56
// > LevelSettingsObject::objectFromDict @ 0x36cf7a
// > LevelSettingsObject::objectFromDict @ 0x36cf9e
// > LevelSettingsObject::objectFromDict @ 0x36cfc2
// > LevelSettingsObject::objectFromDict @ 0x36cfe6
// > LevelSettingsObject::objectFromDict @ 0x36d02e
// > LevelSettingsObject::objectFromDict @ 0x36d076
// > LevelSettingsObject::objectFromDict @ 0x36d09a
// > LevelSearchLayer::checkDiff @ 0x3acb0c
// > LevelSearchLayer::toggleDifficulty @ 0x3acd96
// > LevelSearchLayer::checkTime @ 0x3ace64
// > LevelSearchLayer::init @ 0x3aefce
// > GameLevelManager::getDiffVal @ 0x3c48f8
// > GameLevelManager::getLenVal @ 0x3c49d0
// > GameLevelManager::getBoolForKey @ 0x3c4b9a
// > GJGameLevel::create @ 0x3c5a4a
// > GJGameLevel::create @ 0x3c5ad2
// > GJGameLevel::create @ 0x3c5b5a
// > GJGameLevel::create @ 0x3c5cd0
// > GJGameLevel::create @ 0x3c5f40
// > GJGameLevel::create @ 0x3c5f8c
// > GameLevelManager::processOnDownloadLevelCompleted @ 0x3c72cc
// > GJUserScore::create @ 0x3ca926
// > GJUserScore::create @ 0x3caa50
// > GJUserScore::create @ 0x3cacde
// > GJUserMessage::create @ 0x3cc0b4
// > GJUserMessage::create @ 0x3cc0d8
// > GJSearchObject::createFromKey @ 0x3cc8a2
// > GJSearchObject::createFromKey @ 0x3cc8b0
// > GJSearchObject::createFromKey @ 0x3cc8be
// > GJSearchObject::createFromKey @ 0x3cc8da
// > GJSearchObject::createFromKey @ 0x3cc8e8
// > GJSearchObject::createFromKey @ 0x3cc8f6
// > GJSearchObject::createFromKey @ 0x3cc904
// > GJSearchObject::createFromKey @ 0x3cc912
// > GJSearchObject::createFromKey @ 0x3cc920
// > GJSearchObject::createFromKey @ 0x3cc92e
// > GJSearchObject::createFromKey @ 0x3cc93c
// > GJSearchObject::createFromKey @ 0x3cc94a
// > GJSearchObject::createFromKey @ 0x3cc958
// > GJComment::create @ 0x3cd1a6
// > GJLevelList::create @ 0x3d6b5e
// > GameStatsManager::isItemEnabled @ 0x41cebc
// > SongInfoObject::create @ 0x45c356
// > MusicDownloadManager::addSongObjectFromString @ 0x45c636
// > cocos2d::CCConfiguration::getBool @ 0x5ade7a
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x5dc9d8
// > cocos2d::CCAnimationCache::parseVersion2 @ 0x5e5bb4
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x5e931e
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x5e9460
//
// 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)
{
unsigned int v2; // r0
stl::StringData::Internal *m_data; // r4
v2 = cocos2d::CCString::length(a1);
if ( v2 )
{
m_data = a1->m_sString.m_data.m_data;
v2 = strcmp((const char *)m_data, "0");
if ( v2 )
LOBYTE(v2) = strcmp((const char *)m_data, "false") != 0;
}
return v2;
}