//
// cocos2d::CCString::boolValue from 0x10088e3e0 to 0x10088e431 (81 bytes)
//
// 97 xrefs:
// > GameStatsManager::isItemEnabled @ 0x10003d925
// > LevelSettingsObject::objectFromDict @ 0x1000da3a0
// > LevelSettingsObject::objectFromDict @ 0x1000da3d8
// > LevelSettingsObject::objectFromDict @ 0x1000da440
// > LevelSettingsObject::objectFromDict @ 0x1000da474
// > LevelSettingsObject::objectFromDict @ 0x1000da4ac
// > LevelSettingsObject::objectFromDict @ 0x1000da4e4
// > LevelSettingsObject::objectFromDict @ 0x1000da51c
// > LevelSettingsObject::objectFromDict @ 0x1000da554
// > LevelSettingsObject::objectFromDict @ 0x1000da58c
// > LevelSettingsObject::objectFromDict @ 0x1000da704
// > LevelSettingsObject::objectFromDict @ 0x1000da7e4
// > LevelSettingsObject::objectFromDict @ 0x1000da81c
// > LevelSettingsObject::objectFromDict @ 0x1000da854
// > LevelSettingsObject::objectFromDict @ 0x1000da88c
// > LevelSettingsObject::objectFromDict @ 0x1000da8c4
// > LevelSettingsObject::objectFromDict @ 0x1000da8fc
// > LevelSettingsObject::objectFromDict @ 0x1000da934
// > LevelSettingsObject::objectFromDict @ 0x1000da96c
// > LevelSettingsObject::objectFromDict @ 0x1000da9a4
// > LevelSettingsObject::objectFromDict @ 0x1000da9dc
// > LevelSettingsObject::objectFromDict @ 0x1000daa14
// > LevelSettingsObject::objectFromDict @ 0x1000daa4c
// > LevelSettingsObject::objectFromDict @ 0x1000daa84
// > LevelSettingsObject::objectFromDict @ 0x1000daabc
// > LevelSettingsObject::objectFromDict @ 0x1000daaf4
// > LevelSettingsObject::objectFromDict @ 0x1000dab2c
// > LevelSettingsObject::objectFromDict @ 0x1000dab64
// > LevelSettingsObject::objectFromDict @ 0x1000dab9c
// > LevelSettingsObject::objectFromDict @ 0x1000dabd4
// > LevelSettingsObject::objectFromDict @ 0x1000dac44
// > LevelSettingsObject::objectFromDict @ 0x1000dacb4
// > LevelSettingsObject::objectFromDict @ 0x1000dacec
// > LevelSettingsObject::objectFromDict @ 0x1000dad5c
// > LevelSettingsObject::objectFromDict @ 0x1000dad94
// > LevelSettingsObject::setupColorsFromLegacyMode @ 0x1000de55f
// > LevelSettingsObject::setupColorsFromLegacyMode @ 0x1000de594
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1003077f7
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x100307ce8
// > CCAnimatedSprite::loadType @ 0x10033bb31
// > CCAnimatedSprite::loadType @ 0x10033bb41
// > GameManager::getGameVariable @ 0x1003605f2
// > GameManager::isIconUnlocked @ 0x100361315
// > GameManager::isColorUnlocked @ 0x100361993
// > GameManager::getUGV @ 0x10036d586
// > cocos2d::CCAnimationCache::parseVersion2 @ 0x100461c92
// > cocos2d::CCConfiguration::getBool @ 0x10051b0e1
// > sub_10053C050 @ 0x10053ca18
// > GJGameLevel::create @ 0x1005411cf
// > GJGameLevel::create @ 0x1005412a8
// > GJGameLevel::create @ 0x100541381
// > GJGameLevel::create @ 0x1005417ce
// > GJGameLevel::create @ 0x100541f6a
// > GJGameLevel::create @ 0x10054200e
// > GJLevelList::create @ 0x100543647
// > GJUserScore::create @ 0x100544d43
// > GJUserScore::create @ 0x1005451ed
// > GJUserScore::create @ 0x100545652
// > GJUserScore::create @ 0x100545fab
// > GJUserScore::create @ 0x100545fe4
// > GJUserScore::create @ 0x10054601d
// > GJSearchObject::createFromKey @ 0x10054afd2
// > GJSearchObject::createFromKey @ 0x10054afe9
// > GJSearchObject::createFromKey @ 0x10054b001
// > GJSearchObject::createFromKey @ 0x10054b034
// > GJSearchObject::createFromKey @ 0x10054b04c
// > GJSearchObject::createFromKey @ 0x10054b064
// > GJSearchObject::createFromKey @ 0x10054b07c
// > GJSearchObject::createFromKey @ 0x10054b094
// > GJSearchObject::createFromKey @ 0x10054b0ac
// > GJSearchObject::createFromKey @ 0x10054b0c4
// > GJSearchObject::createFromKey @ 0x10054b0dc
// > GJSearchObject::createFromKey @ 0x10054b0f4
// > GJSearchObject::createFromKey @ 0x10054b10c
// > GameLevelManager::dataLoaded @ 0x100550727
// > sub_10055F180 @ 0x10055f1f3
// > GJUserMessage::create @ 0x100568464
// > GJUserMessage::create @ 0x100568494
// > GJComment::create @ 0x10056b320
// > GJComment::create @ 0x10056b46c
// > sub_100581D80 @ 0x100581e33
// > sub_100581FC0 @ 0x100582073
// > GameLevelManager::getBoolForKey @ 0x10058256d
// > SpriteDescription::initDescription @ 0x10059a0d2
// > MusicDownloadManager::addSongObjectFromString @ 0x10064c1ec
// > SongInfoObject::create_2 @ 0x10064ca57
// > LevelSearchLayer::init @ 0x10070699b
// > LevelSearchLayer::toggleDifficulty @ 0x100707cd8
// > LevelSearchLayer::checkDiff @ 0x100709563
// > LevelSearchLayer::checkTime @ 0x100709663
// > SpriteAnimationManager::createAnimations @ 0x100800479
// > SpriteAnimationManager::createAnimations @ 0x1008006a5
// > SpriteAnimationManager::loadAnimations @ 0x1008013f4
// > SpriteAnimationManager::loadAnimations @ 0x10080144c
// > SpriteAnimationManager::loadAnimations @ 0x1008014a4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1008af579
// > GJEditorSoundConfig::create @ 0x100906eb1
//
// 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 12:37:03 +0000
//
bool __fastcall cocos2d::CCString::boolValue(__int64 a1)
{
char v2; // cl
__int64 v3; // rdi
v2 = *(_BYTE *)(a1 + 56);
if ( (v2 & 1) != 0 )
{
if ( !*(_DWORD *)(a1 + 64) )
return 0;
v3 = *(_QWORD *)(a1 + 72);
if ( *(_BYTE *)v3 == 48 && !*(_BYTE *)(v3 + 1) )
return 0;
return strcmp((const char *)v3, "false") != 0;
}
if ( v2 )
{
v3 = a1 + 57;
if ( *(_BYTE *)(a1 + 57) != 48 || *(_BYTE *)(a1 + 58) )
return strcmp((const char *)v3, "false") != 0;
}
return 0;
}