//
// cocos2d::CCDictionary::count from 0x1002f8680 to 0x1002f869c (28 bytes)
//
// 61 xrefs:
// > GameStatsManager::recountUserCoins @ 0x100034a52
// > GameStatsManager::verifyUserCoins @ 0x1000350e3
// > GameStatsManager::recountSpecialStats @ 0x10003ccaf
// > GameStatsManager::countSecretChests @ 0x100052eb9
// > GameStatsManager::countUnlockedSecretChests @ 0x100052f09
// > GJBaseGameLayer::generateTargetGroups @ 0x1000f81f4
// > cocos2d::CCComponentContainer::isEmpty @ 0x1002b283d
// > GJEffectManager::processInheritedColors @ 0x1002c93bb
// > GJEffectManager::saveToState @ 0x1002d9669
// > CommunityCreditsPage::goToPage @ 0x10030c05d
// > CCPartAnimSprite::initWithAnimDesc @ 0x10035d11b
// > CCPartAnimSprite::initWithAnimDesc @ 0x10035d7bd
// > SecretLayer4::selectAThread @ 0x10039d872
// > PlayerObject::postCollision @ 0x1003f22c8
// > PlayerObject::postCollision @ 0x1003f22d8
// > PlayerObject::postCollision @ 0x1003f23e1
// > PlayerObject::postCollision @ 0x1003f23f1
// > PlayerObject::postCollision @ 0x1003f2a56
// > PlayerObject::postCollision @ 0x1003f2da8
// > PlayerObject::postCollision @ 0x1003f2df7
// > PlayerObject::postCollision @ 0x1003f3291
// > PlayerObject::postCollision @ 0x1003f32a5
// > PlayerObject::postCollision @ 0x1003f34ba
// > SecretLayer2::selectAThread @ 0x10049b3d2
// > ShardsPage::goToPage @ 0x1004c1ae2
// > sub_1004C74E0 @ 0x1004c74fe
// > GameToolbox::getLargestMergedIntDicts @ 0x1004eba43
// > GameToolbox::getLargestMergedIntDicts @ 0x1004eba4e
// > GameLevelManager::removeLevelDownloadedKeysFromDict @ 0x10054e957
// > GameLevelManager::dataLoaded @ 0x1005506fd
// > GameLevelManager::dataLoaded @ 0x10055085f
// > GameLevelManager::dataLoaded @ 0x1005509f4
// > GameLevelManager::dataLoaded @ 0x100550a6a
// > GameLevelManager::dataLoaded @ 0x100550c04
// > GameLevelManager::dataLoaded @ 0x100550c7a
// > GameLevelManager::dataLoaded @ 0x100550e14
// > GameLevelManager::areGauntletsLoaded @ 0x10055e52b
// > sub_100560990 @ 0x1005609ae
// > sub_100561E60 @ 0x100561e7e
// > sub_100561FE0 @ 0x100561ffe
// > GameLevelManager::syncFollowListIfNeeded @ 0x100576f9a
// > GameLevelManager::markItemAsLiked @ 0x10057f137
// > sub_1005816E0 @ 0x1005816fe
// > CCAnimateFrameCache::addDict @ 0x100598fd8
// > CCAnimateFrameCache::addDict @ 0x100599122
// > GauntletSelectLayer::setupGauntlets @ 0x10059f3ec
// > EditorUI::onNewCustomItem @ 0x10063c46e
// > sub_1006516B0 @ 0x1006516e4
// > MusicDownloadManager::onDownloadMusicLibraryCompleted @ 0x10065a4ba
// > MusicDownloadManager::isMusicLibraryLoaded @ 0x10065cb60
// > MusicDownloadManager::getAllMusicObjects @ 0x10065e2c8
// > MusicDownloadManager::getAllMusicObjectsSorted @ 0x10065e3dc
// > MusicDownloadManager::getAllMusicArtists @ 0x10065e6fe
// > MusicDownloadManager::isSFXLibraryLoaded @ 0x100660b90
// > MusicDownloadManager::tryLoadLibraries @ 0x100660ca5
// > MusicDownloadManager::tryLoadLibraries @ 0x100660cd0
// > cocos2d::CCTextureCache::description @ 0x1006bfb88
// > cocos2d::CCTextureCache::removeUnusedTextures @ 0x1006c1d46
// > SecretLayer::selectAThread @ 0x1006d49e2
// > SecretRewardsLayer::onSpecialItem @ 0x10070f917
// > ProfilePage::followUserFinished @ 0x1008a540c
//
// 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:28:29 +0000
//
__int64 __fastcall cocos2d::CCDictionary::count(__int64 a1)
{
__int64 v1; // rax
v1 = *(_QWORD *)(a1 + 56);
if ( v1 )
return *(unsigned int *)(*(_QWORD *)(v1 + 272) + 16LL);
else
return 0;
}