//
// cocos2d::CCDictionary::count from 0xd417d8 to 0xd417f4 (28 bytes)
//
// 58 xrefs:
// > CCAnimateFrameCache::addDict @ 0x68ec5c
// > CCPartAnimSprite::initWithAnimDesc @ 0x693a88
// > GameToolbox::getLargestMergedIntDicts @ 0x69f328
// > GameToolbox::getLargestMergedIntDicts @ 0x69f334
// > PlayerObject::postCollision @ 0x761568
// > PlayerObject::postCollision @ 0x7615dc
// > PlayerObject::postCollision @ 0x7616d4
// > PlayerObject::postCollision @ 0x7616e4
// > PlayerObject::postCollision @ 0x761890
// > PlayerObject::postCollision @ 0x76189c
// > PlayerObject::postCollision @ 0x761988
// > PlayerObject::postCollision @ 0x761db0
// > PlayerObject::postCollision @ 0x7622c0
// > GameLevelManager::areGauntletsLoaded @ 0x802074
// > GameLevelManager::markLevelAsDownloaded @ 0x8020e8
// > GameLevelManager::markLevelAsRatedStars @ 0x8023d0
// > GameLevelManager::markLevelAsRatedDemon @ 0x80265c
// > GameLevelManager::markLevelAsReported @ 0x804338
// > GameLevelManager::markItemAsLiked @ 0x814958
// > GameLevelManager::syncFollowListIfNeeded @ 0x832b68
// > GameLevelManager::removeLevelDownloadedKeysFromDict @ 0x834d64
// > GameLevelManager::dataLoaded @ 0x86096c
// > GameLevelManager::dataLoaded @ 0x860a20
// > GameLevelManager::dataLoaded @ 0x860a84
// > GameLevelManager::dataLoaded @ 0x860ac4
// > GameLevelManager::dataLoaded @ 0x860b28
// > GameLevelManager::dataLoaded @ 0x860b68
// > GameLevelManager::dataLoaded @ 0x860bcc
// > GameStatsManager::countSecretChests @ 0x8ccfb4
// > GameStatsManager::countUnlockedSecretChests @ 0x8cd000
// > GameStatsManager::recountUserCoins @ 0x8ddb7c
// > GameStatsManager::verifyUserCoins @ 0x8de070
// > GameStatsManager::recountSpecialStats @ 0x8ec270
// > MusicDownloadManager::isMusicLibraryLoaded @ 0x95c850
// > MusicDownloadManager::getAllMusicObjects @ 0x95ca58
// > MusicDownloadManager::isSFXLibraryLoaded @ 0x95cadc
// > MusicDownloadManager::getAllMusicArtists @ 0x95dfe8
// > MusicDownloadManager::getCustomSFXCount @ 0x96e420
// > GJBaseGameLayer::generateTargetGroups @ 0x9cbd1c
// > GJEffectManager::saveToState @ 0xa192bc
// > GJEffectManager::processInheritedColors @ 0xa1b5a4
// > ProfilePage::followUserFinished @ 0xa5ca38
// > SecretLayer::selectAThread @ 0xa5e46c
// > GauntletSelectLayer::setupGauntlets @ 0xa76448
// > SecretLayer2::selectAThread @ 0xa8ab54
// > SecretLayer4::selectAThread @ 0xa93e7c
// > ShardsPage::goToPage @ 0xaa3bb4
// > CommunityCreditsPage::goToPage @ 0xab5a88
// > SecretRewardsLayer::onSpecialItem @ 0xb9e73c
// > EditorUI::onNewCustomItem @ 0xbe0094
// > cocos2d::CCDictionary::allKeys @ 0xd4180c
// > cocos2d::CCDictionary::getFirstKey @ 0xd4195c
// > cocos2d::CCDictionary::allKeysForObject @ 0xd41b0c
// > cocos2d::CCComponentContainer::isEmpty @ 0xda08a8
// > cocos2d::CCTextureCache::description @ 0xda5330
// > cocos2d::CCTextureCache::removeUnusedTextures @ 0xda54b8
// > cocos2d::CCTouchDispatcher::ownerLevelOf @ 0xdb1570
// > ??> @ 0xfa060
//
// This function is hookable on this platform (idp: arm, 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 13:07:31 +0000
//
__int64 __fastcall cocos2d::CCDictionary::count(cocos2d::CCDictionary *this)
{
__int64 v1; // x0
v1 = *((_QWORD *)this + 7);
if ( v1 )
return *(unsigned int *)(*(_QWORD *)(v1 + 272) + 16LL);
else
return 0;
}