//
// cocos2d::CCString::boolValue from 0x7c8aa8 to 0x7c8ae8 (64 bytes)
//
// 97 xrefs:
// > CCAnimatedSprite::loadType @ 0x3c395a
// > CCAnimatedSprite::loadType @ 0x3c3968
// > SpriteDescription::initDescription @ 0x3c4878
// > SpriteAnimationManager::createAnimations @ 0x3d87e0
// > SpriteAnimationManager::createAnimations @ 0x3d8964
// > SpriteAnimationManager::loadAnimations @ 0x3d900a
// > SpriteAnimationManager::loadAnimations @ 0x3d9030
// > SpriteAnimationManager::loadAnimations @ 0x3d9056
// > GameManager::getGameVariable @ 0x41667e
// > GameManager::getUGV @ 0x416cda
// > GameManager::isIconUnlocked @ 0x418d90
// > GameManager::isColorUnlocked @ 0x418f84
// > LevelSettingsObject::setupColorsFromLegacyMode @ 0x46693c
// > LevelSettingsObject::setupColorsFromLegacyMode @ 0x466964
// > LevelSettingsObject::objectFromDict @ 0x473ea8
// > LevelSettingsObject::objectFromDict @ 0x473ed2
// > LevelSettingsObject::objectFromDict @ 0x473f26
// > LevelSettingsObject::objectFromDict @ 0x473f50
// > LevelSettingsObject::objectFromDict @ 0x473f7a
// > LevelSettingsObject::objectFromDict @ 0x473fa4
// > LevelSettingsObject::objectFromDict @ 0x473fce
// > LevelSettingsObject::objectFromDict @ 0x473ff8
// > LevelSettingsObject::objectFromDict @ 0x474022
// > LevelSettingsObject::objectFromDict @ 0x474148
// > LevelSettingsObject::objectFromDict @ 0x4741f0
// > LevelSettingsObject::objectFromDict @ 0x47421a
// > LevelSettingsObject::objectFromDict @ 0x474244
// > LevelSettingsObject::objectFromDict @ 0x47426e
// > LevelSettingsObject::objectFromDict @ 0x474298
// > LevelSettingsObject::objectFromDict @ 0x4742c2
// > LevelSettingsObject::objectFromDict @ 0x4742ec
// > LevelSettingsObject::objectFromDict @ 0x474316
// > LevelSettingsObject::objectFromDict @ 0x474340
// > LevelSettingsObject::objectFromDict @ 0x47436a
// > LevelSettingsObject::objectFromDict @ 0x474394
// > LevelSettingsObject::objectFromDict @ 0x4743be
// > LevelSettingsObject::objectFromDict @ 0x4743e8
// > LevelSettingsObject::objectFromDict @ 0x474412
// > LevelSettingsObject::objectFromDict @ 0x47443c
// > LevelSettingsObject::objectFromDict @ 0x474466
// > LevelSettingsObject::objectFromDict @ 0x474490
// > LevelSettingsObject::objectFromDict @ 0x4744ba
// > LevelSettingsObject::objectFromDict @ 0x4744e4
// > LevelSettingsObject::objectFromDict @ 0x474538
// > LevelSettingsObject::objectFromDict @ 0x47458c
// > LevelSettingsObject::objectFromDict @ 0x4745b6
// > LevelSettingsObject::objectFromDict @ 0x47460a
// > LevelSettingsObject::objectFromDict @ 0x474634
// > LevelSearchLayer::checkDiff @ 0x496140
// > LevelSearchLayer::toggleDifficulty @ 0x4963f0
// > LevelSearchLayer::checkTime @ 0x4964b4
// > LevelSearchLayer::init @ 0x4995b6
// > GameLevelManager::getDiffVal @ 0x4af568
// > GameLevelManager::getLenVal @ 0x4af644
// > GameLevelManager::getBoolForKey @ 0x4af85a
// > GJUserScore::create @ 0x4b39d6
// > GJUserScore::create @ 0x4b3c3a
// > GJUserScore::create @ 0x4b3f84
// > GJUserScore::create @ 0x4b438e
// > GJUserScore::create @ 0x4b43ba
// > GJUserScore::create @ 0x4b43e6
// > GJSearchObject::createFromKey @ 0x4c48bc
// > GJSearchObject::createFromKey @ 0x4c48ca
// > GJSearchObject::createFromKey @ 0x4c48d8
// > GJSearchObject::createFromKey @ 0x4c48f4
// > GJSearchObject::createFromKey @ 0x4c4902
// > GJSearchObject::createFromKey @ 0x4c4910
// > GJSearchObject::createFromKey @ 0x4c491e
// > GJSearchObject::createFromKey @ 0x4c492c
// > GJSearchObject::createFromKey @ 0x4c493a
// > GJSearchObject::createFromKey @ 0x4c4948
// > GJSearchObject::createFromKey @ 0x4c4956
// > GJSearchObject::createFromKey @ 0x4c4964
// > GJSearchObject::createFromKey @ 0x4c4972
// > GJComment::create @ 0x4c4bac
// > GJComment::create @ 0x4c4c92
// > GJLevelList::create @ 0x4c5e06
// > GameLevelManager::onGetNotificationsCompleted @ 0x4c8eb8
// > GJUserMessage::create @ 0x4cc7ac
// > GJUserMessage::create @ 0x4cc7d6
// > GJGameLevel::create @ 0x4cefd2
// > GJGameLevel::create @ 0x4cf082
// > GJGameLevel::create @ 0x4cf132
// > GJGameLevel::create @ 0x4cf286
// > GJGameLevel::create @ 0x4cf51a
// > GJGameLevel::create @ 0x4cf57a
// > GameLevelManager::processOnDownloadLevelCompleted @ 0x4d9b1a
// > GameLevelManager::dataLoaded @ 0x4dd362
// > GameStatsManager::isItemEnabled @ 0x52b9ee
// > SongInfoObject::create @ 0x577af4
// > MusicDownloadManager::addSongObjectFromString @ 0x577e26
// > GJEditorSoundConfig::create @ 0x78d9e8
// > cocos2d::CCConfiguration::getBool @ 0x7b3f86
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x7e5074
// > cocos2d::CCAnimationCache::parseVersion2 @ 0x7f0414
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x7f3c5e
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x7f3dd2
//
// 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::boolValue(cocos2d::CCString *this)
{
int result; // r0
int v3; // r5
const char *v4; // r0
const char *v5; // r0
result = cocos2d::CCString::length(this);
if ( result )
{
v3 = *((_BYTE *)this + 52) & 1;
v4 = (*((_BYTE *)this + 52) & 1) != 0 ? *((const char **)this + 15) : (char *)this + 53;
result = strcmp(v4, "0");
if ( result )
{
if ( v3 )
v5 = *((const char **)this + 15);
else
v5 = (char *)this + 53;
return strcmp(v5, "false") != 0;
}
}
return result;
}