//
// cocos2d::CCDictionary::count from 0x5bf950 to 0x5bf95c (12 bytes)
//
// 49 xrefs:
// > CCAnimateFrameCache::addDict @ 0x2e4f8a
// > CCPartAnimSprite::initWithAnimDesc @ 0x2e786c
// > GameToolbox::getLargestMergedIntDicts @ 0x2ec4b0
// > GameToolbox::getLargestMergedIntDicts @ 0x2ec4b8
// > PlayerObject::postCollision @ 0x34cb96
// > PlayerObject::postCollision @ 0x34cba0
// > PlayerObject::postCollision @ 0x34ce42
// > PlayerObject::postCollision @ 0x34ce4c
// > PlayerObject::postCollision @ 0x34d03c
// > PlayerObject::postCollision @ 0x34d0ba
// > PlayerObject::postCollision @ 0x34d388
// > PlayerObject::postCollision @ 0x34d396
// > EditorUI::onNewCustomItem @ 0x3a667c
// > GameLevelManager::areGauntletsLoaded @ 0x3c0f7e
// > GameLevelManager::markLevelAsDownloaded @ 0x3c0fc6
// > GameLevelManager::markLevelAsRatedStars @ 0x3c1182
// > GameLevelManager::markLevelAsRatedDemon @ 0x3c1260
// > GameLevelManager::markItemAsLiked @ 0x3c326c
// > GameLevelManager::markLevelAsReported @ 0x3c47f6
// > GameLevelManager::removeLevelDownloadedKeysFromDict @ 0x3ce92a
// > GameLevelManager::dataLoaded @ 0x3d8d00
// > GameLevelManager::dataLoaded @ 0x3d8da8
// > GameLevelManager::dataLoaded @ 0x3d8e50
// > GameStatsManager::countSecretChests @ 0x40e500
// > GameStatsManager::countUnlockedSecretChests @ 0x40e540
// > GameStatsManager::recountUserCoins @ 0x418f26
// > GameStatsManager::verifyUserCoins @ 0x419190
// > GameStatsManager::recountSpecialStats @ 0x41d3da
// > MusicDownloadManager::isMusicLibraryLoaded @ 0x4584c4
// > MusicDownloadManager::getAllMusicObjects @ 0x458592
// > MusicDownloadManager::getAllMusicArtists @ 0x45869a
// > MusicDownloadManager::isSFXLibraryLoaded @ 0x458796
// > GJBaseGameLayer::generateTargetGroups @ 0x48d586
// > GJEffectManager::processInheritedColors @ 0x49a732
// > GJEffectManager::saveToState @ 0x4a68f2
// > ProfilePage::onFollow @ 0x4c4a94
// > SecretLayer::selectAThread @ 0x4c989a
// > GauntletSelectLayer::setupGauntlets @ 0x4d9114
// > SecretLayer2::selectAThread @ 0x4ec3ca
// > SecretLayer4::selectAThread @ 0x4f09d2
// > ShardsPage::goToPage @ 0x4fb2d8
// > CommunityCreditsPage::goToPage @ 0x506cd8
// > SecretRewardsLayer::onSpecialItem @ 0x585926
// > cocos2d::CCDictionary::allKeys @ 0x5bf960
// > cocos2d::CCDictionary::getFirstKey @ 0x5bfa30
// > cocos2d::CCDictionary::allKeysForObject @ 0x5bfa68
// > cocos2d::CCComponentContainer::isEmpty @ 0x5f2a98
// > cocos2d::CCTextureCache::description @ 0x5f4c00
// > cocos2d::CCTextureCache::removeUnusedTextures @ 0x5f4d7c
//
// 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
//
unsigned int cocos2d::CCDictionary::count(cocos2d::CCDictionary *a1)
{
unsigned int result; // r0
result = (unsigned int)a1->m_pElements->m_szKey;
if ( result )
return *(_DWORD *)(*(_DWORD *)(result + 264) + 12);
return result;
}