//
// cocos2d::CCDictionary::count from 0xacf36c to 0xacf388 (28 bytes)
//
// 54 xrefs:
// > CCAnimateFrameCache::addDict @ 0x57352c
// > CCPartAnimSprite::initWithAnimDesc @ 0x578320
// > GameToolbox::getLargestMergedIntDicts @ 0x580874
// > GameToolbox::getLargestMergedIntDicts @ 0x580880
// > PlayerObject::postCollision @ 0x638bc4
// > PlayerObject::postCollision @ 0x638c38
// > PlayerObject::postCollision @ 0x638d30
// > PlayerObject::postCollision @ 0x638d40
// > PlayerObject::postCollision @ 0x638eec
// > PlayerObject::postCollision @ 0x638ef8
// > PlayerObject::postCollision @ 0x638fe4
// > PlayerObject::postCollision @ 0x63940c
// > PlayerObject::postCollision @ 0x6398f8
// > EditorUI::onNewCustomItem @ 0x6c48fc
// > GameLevelManager::removeLevelDownloadedKeysFromDict @ 0x6f3ba0
// > GameLevelManager::areGauntletsLoaded @ 0x6f5d38
// > GameLevelManager::markLevelAsDownloaded @ 0x6f5dac
// > GameLevelManager::markLevelAsRatedStars @ 0x6f62d0
// > GameLevelManager::markLevelAsRatedDemon @ 0x6f658c
// > GameLevelManager::markItemAsLiked @ 0x6fc058
// > GameLevelManager::markLevelAsReported @ 0x6ffba8
// > GameLevelManager::dataLoaded @ 0x73a2a8
// > GameLevelManager::dataLoaded @ 0x73a310
// > GameLevelManager::dataLoaded @ 0x73a35c
// > GameLevelManager::dataLoaded @ 0x73a3c4
// > GameLevelManager::dataLoaded @ 0x73a410
// > GameLevelManager::dataLoaded @ 0x73a478
// > GameStatsManager::countSecretChests @ 0x7a6264
// > GameStatsManager::countUnlockedSecretChests @ 0x7a62b0
// > GameStatsManager::recountUserCoins @ 0x7b45b8
// > GameStatsManager::verifyUserCoins @ 0x7b4d08
// > GameStatsManager::recountSpecialStats @ 0x7bdcf8
// > MusicDownloadManager::isMusicLibraryLoaded @ 0x82a694
// > MusicDownloadManager::getAllMusicObjects @ 0x82a880
// > MusicDownloadManager::getAllMusicArtists @ 0x82aad4
// > MusicDownloadManager::isSFXLibraryLoaded @ 0x82ace0
// > GJBaseGameLayer::generateTargetGroups @ 0x888008
// > GJEffectManager::saveToState @ 0x8bf2a0
// > GJEffectManager::processInheritedColors @ 0x8c0e90
// > ProfilePage::onFollow @ 0x8f8570
// > SecretLayer::selectAThread @ 0x9026a0
// > GauntletSelectLayer::setupGauntlets @ 0x91c048
// > SecretLayer2::selectAThread @ 0x93fff0
// > SecretLayer4::selectAThread @ 0x94835c
// > ShardsPage::goToPage @ 0x95c308
// > CommunityCreditsPage::goToPage @ 0x97021c
// > SecretRewardsLayer::onSpecialItem @ 0xa617d4
// > cocos2d::CCDictionary::allKeys @ 0xacf3a0
// > cocos2d::CCDictionary::getFirstKey @ 0xacf500
// > cocos2d::CCDictionary::allKeysForObject @ 0xacf584
// > cocos2d::CCComponentContainer::isEmpty @ 0xb2f564
// > cocos2d::CCTextureCache::description @ 0xb33e1c
// > cocos2d::CCTextureCache::removeUnusedTextures @ 0xb341e4
// > ??> @ 0xbfd48
//
// 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)
{
cocos2d::CCDictElement *m_pElements; // x0
m_pElements = a1->m_pElements;
if ( m_pElements )
return m_pElements->hh.tbl->num_items;
else
return 0;
}