//
// cocos2d::CCDictionary::objectForKey from 0xacf978 to 0xacfb04 (396 bytes)
//
// 216 xrefs:
// > TextArea::fadeInCharacters @ 0x592af8
// > LevelTools::moveTriggerObjectsToArray @ 0x60636c
// > LevelTools::moveTriggerObjectsToArray @ 0x6063e4
// > LevelTools::sortChannelOrderObjects @ 0x606490
// > LevelTools::sortChannelOrderObjects @ 0x6064a8
// > LevelTools::sortChannelOrderObjects @ 0x606574
// > LevelTools::sortChannelOrderObjects @ 0x606610
// > LevelTools::sortChannelOrderObjects @ 0x606670
// > LevelTools::sortChannelOrderObjects @ 0x6066d4
// > PlayerObject::postCollision @ 0x638f3c
// > PlayerObject::postCollision @ 0x639928
// > LevelEditorLayer::reverseKeyframeAnimationOrder @ 0x662ba4
// > LevelEditorLayer::duplicateKeyframeAnimation @ 0x671c9c
// > EditorUI::addObjectsToSmartTemplate @ 0x6b422c
// > EditorUI::addObjectsToSmartTemplate @ 0x6b4288
// > EditorUI::alignObjects @ 0x6b5d50
// > EditorUI::createNewKeyframeAnim @ 0x6bf100
// > EditorUI::onDelete @ 0x6c0b64
// > EditorUI::createSmartObjectsFromTemplate @ 0x6c23b4
// > GameLevelManager::getNextFreeTemplateID @ 0x6f42e8
// > GameLevelManager::userInfoForAccountID @ 0x6f6f1c
// > GameLevelManager::friendRequestFromAccountID @ 0x6f7120
// > GameLevelManager::getStoredUserMessage @ 0x6f7140
// > GameLevelManager::getStoredUserMessageReply @ 0x6f7168
// > GameLevelManager::getAllUsedSongIDs @ 0x701080
// > GameLevelManager::getAllUsedSongIDs @ 0x7010e0
// > GameStatsManager::getStoreItem @ 0x7a1cac
// > GameStatsManager::getRewardItem @ 0x7a3758
// > GameStatsManager::areRewardsLoaded @ 0x7a376c
// > GameStatsManager::getRewardForSecretChest @ 0x7a61c0
// > ParentalOptionsLayer::onToggle @ 0x7c7098
// > MoreOptionsLayer::onToggle @ 0x7c8be0
// > MoreVideoOptionsLayer::onToggle @ 0x7d06c8
// > MusicDownloadManager::getMusicArtistForID @ 0x82a6cc
// > MusicDownloadManager::getMusicObject @ 0x82a6e4
// > MusicDownloadManager::storeSFXInfoObject @ 0x82ad34
// > MusicDownloadManager::getSFXObject @ 0x82ad70
// > MusicDownloadManager::clearUnusedSongs @ 0x830138
// > MusicDownloadManager::createSongsInfo @ 0x8374cc
// > MusicDownloadManager::parseMusicLibrary @ 0x838d88
// > KeybindingsLayer::onToggle @ 0x853ea0
// > GJBaseGameLayer::getGroupParent @ 0x85d86c
// > GJBaseGameLayer::tryGetGroupParent @ 0x85d8f8
// > GJBaseGameLayer::tryGetMainObject @ 0x85d9a4
// > GJBaseGameLayer::removeGroupParent @ 0x860078
// > GJBaseGameLayer::setGroupParent @ 0x860180
// > GJBaseGameLayer::removeFromGroupParents @ 0x86032c
// > GJBaseGameLayer::addToGroupParents @ 0x8603d4
// > GJBaseGameLayer::sortStickyGroups @ 0x860628
// > GJBaseGameLayer::getStickyGroup @ 0x860708
// > GJBaseGameLayer::ungroupStickyObjects @ 0x860758
// > GJBaseGameLayer::assignNewStickyGroups @ 0x860950
// > GJBaseGameLayer::assignNewStickyGroups @ 0x8609e8
// > GJBaseGameLayer::getTargetGroup @ 0x860b28
// > GJBaseGameLayer::getTargetGroupOrigin @ 0x860b50
// > GJBaseGameLayer::updateKeyframeOrder @ 0x864f34
// > GJBaseGameLayer::addKeyframe @ 0x864ff0
// > GJBaseGameLayer::removeKeyframe @ 0x865084
// > GJBaseGameLayer::refreshKeyframeAnims @ 0x865154
// > GJBaseGameLayer::refreshKeyframeAnims @ 0x865244
// > GJBaseGameLayer::getActiveOrderSpawnObjects @ 0x8697c4
// > GJBaseGameLayer::triggerGradientCommand @ 0x86c204
// > GJBaseGameLayer::controlGradientTrigger @ 0x86c534
// > GJBaseGameLayer::playKeyframeAnimation @ 0x880e64
// > GJBaseGameLayer::generateTargetGroups @ 0x888398
// > GJBaseGameLayer::generateTargetGroups @ 0x8883c8
// > GJBaseGameLayer::generateTargetGroups @ 0x88842c
// > GJBaseGameLayer::generateTargetGroups @ 0x8884f4
// > GJBaseGameLayer::generateTargetGroups @ 0x8885e8
// > GJBaseGameLayer::generateTargetGroups @ 0x8886c4
// > GJBaseGameLayer::generateTargetGroups @ 0x8886e8
// > GJBaseGameLayer::generateTargetGroups @ 0x888768
// > GJBaseGameLayer::getGroupParentsString @ 0x88fbfc
// > GJBaseGameLayer::parentForZLayer @ 0x8a0bd8
// > GJBaseGameLayer::parentForZLayer @ 0x8a0cc8
// > GJOptionsLayer::onToggle @ 0x8c5cd8
// > ConfigureHSVWidget::updateLabels @ 0x8e1008
// > ConfigureHSVWidget::updateLabels @ 0x8e1068
// > ConfigureHSVWidget::updateLabels @ 0x8e10bc
// > SecretLayer::selectAThread @ 0x9026bc
// > ChallengesPage::exitNodeAtSlot @ 0x906dbc
// > ChallengesPage::createChallengeNode @ 0x907ca0
// > ChallengesPage::challengeStatusFinished @ 0x908b98
// > GauntletSelectLayer::onPlay @ 0x917c2c
// > GauntletSelectLayer::unlockAnimationStep2 @ 0x918410
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x9188d0
// > GauntletSelectLayer::playUnlockAnimation @ 0x918e0c
// > GauntletSelectLayer::showUnlockGauntlet @ 0x91d40c
// > GJShopLayer::didPurchaseItem @ 0x92ac38
// > SecretLayer2::selectAThread @ 0x94000c
// > SecretLayer4::selectAThread @ 0x948378
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x951fc8
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x952034
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x952074
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x952214
// > ShardsPage::goToPage @ 0x95c320
// > ShardsPage::init @ 0x95c950
// > CommunityCreditsPage::goToPage @ 0x970258
// > CommunityCreditsPage::init @ 0x971ab4
// > SetGroupIDLayer::updateGroupIDButtons @ 0x976584
// > SetGroupIDLayer::updateGroupIDButtons @ 0x9765a0
// > SetGroupIDLayer::updateGroupIDButtons @ 0x976798
// > SetGroupIDLayer::updateGroupIDButtons @ 0x9767a8
// > SetGroupIDLayer::callRemoveFromGroup @ 0x976ba4
// > GJMultiplayerManager::getLastCommentIDForGame @ 0x981aec
// > GJMultiplayerManager::addComment @ 0x981d00
// > GJMultiplayerManager::addComment @ 0x981d74
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b0f68
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b10e8
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b1160
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b11d4
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b1250
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b12c4
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b1318
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b1520
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b197c
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b1a20
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b1ac0
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b1b14
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b1c00
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b1c28
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b1d64
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b1db8
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b1de4
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b1fd0
// > EnhancedGameObject::updateSyncedAnimation @ 0x9b2034
// > GameManager::addCustomAnimationFrame @ 0x9b3e94
// > GameManager::addCustomAnimationFrame @ 0x9b3edc
// > GameManager::framesForAnimation @ 0x9be850
// > GameManager::addDuplicateLastFrame @ 0x9be8c4
// > GameManager::addDuplicateLastFrame @ 0x9be8f0
// > GameManager::frameTimeForAnimation @ 0x9bebe4
// > GameManager::defaultFrameForAnimation @ 0x9becc8
// > CreateParticlePopup::updateSliderForType @ 0x9c32c0
// > CreateParticlePopup::updateInputNodeStringForType @ 0x9c3524
// > CreateParticlePopup::toggleGravityMode @ 0x9c4b74
// > CreateParticlePopup::toggleGravityMode @ 0x9c4b90
// > CreateParticlePopup::toggleGravityMode @ 0x9c4bac
// > CreateParticlePopup::toggleGravityMode @ 0x9c4bcc
// > CreateParticlePopup::toggleGravityMode @ 0x9c4bf8
// > CreateParticlePopup::toggleGravityMode @ 0x9c4c14
// > CreateParticlePopup::toggleGravityMode @ 0x9c4c30
// > CreateParticlePopup::toggleGravityMode @ 0x9c4c50
// > MPLobbyLayer::updateComments @ 0x9c9abc
// > MPLobbyLayer::joinLobbyFinished @ 0x9c9ff4
// > SetupTriggerPopup::updateToggleItem @ 0x9e388c
// > SetupTriggerPopup::updateInputNode @ 0x9e390c
// > SetupTriggerPopup::toggleGroup @ 0x9e4978
// > SetupTriggerPopup::toggleGroup @ 0x9e499c
// > SetupTriggerPopup::goToPage @ 0x9e4cbc
// > SetupTriggerPopup::goToPage @ 0x9e4ce0
// > SetupTriggerPopup::toggleDisableButtons @ 0x9e60dc
// > SetupTriggerPopup::updateCustomToggleTrigger @ 0x9e67a4
// > SetupTriggerPopup::updateLabel @ 0x9e67dc
// > SetupTriggerPopup::getTruncatedValueByTag @ 0x9e6ff8
// > SetupTriggerPopup::updateSlider @ 0x9e7038
// > SetupTriggerPopup::getValue @ 0x9e8858
// > SetupTriggerPopup::updateInputNodeLabel @ 0x9e88b4
// > SetupTriggerPopup::getMinSliderValue @ 0x9e8a24
// > SetupTriggerPopup::getMaxSliderValue @ 0x9e9a04
// > SetupTriggerPopup::updateCustomEaseLabel @ 0x9ea67c
// > SetupTriggerPopup::updateCustomEaseLabel @ 0x9ea6a0
// > SetupTriggerPopup::updateCustomEaseRateLabel @ 0x9ea828
// > SetupTriggerPopup::toggleCustomEaseRateVisibility @ 0x9ea9bc
// > SetupTriggerPopup::toggleCustomEaseRateVisibility @ 0x9ea9f8
// > SetupTriggerPopup::valueChanged @ 0x9eb754
// > SetupTriggerPopup::valueChanged @ 0x9eb764
// > SetupTriggerPopup::valueChanged @ 0x9eb79c
// > SetupTriggerPopup::valueChanged @ 0x9eb7ac
// > SetupTriggerPopup::triggerArrowChanged @ 0x9ed4dc
// > SetupTriggerPopup::updateValue @ 0x9ed660
// > SetupTriggerPopup::onCustomEaseArrow @ 0x9ed96c
// > SetupShaderEffectPopup::valueDidChange @ 0x9fbc60
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0x9fbe8c
// > SetupAreaMoveTriggerPopup::updateEnterTargetIDState @ 0xa09658
// > SetupAreaMoveTriggerPopup::init @ 0xa0bcc0
// > SetupAreaAnimTriggerPopup::init @ 0xa11848
// > SetupAreaAnimTriggerPopup::updateTargetIDLabel @ 0xa127ec
// > SetupEnterEffectPopup::init @ 0xa14b94
// > SetupAdvFollowRetargetPopup::valueDidChange @ 0xa17c58
// > SetupAdvFollowRetargetPopup::updateDefaultTriggerValues @ 0xa17e0c
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0xa18038
// > SetupAdvFollowPopup::valueDidChange @ 0xa18360
// > GJActionManager::getInternalAction @ 0xa26450
// > GJActionManager::stopInternalAction @ 0xa26470
// > GJActionManager::updateInternalActions @ 0xa2650c
// > SetupKeyframePopup::onClose @ 0xa3a350
// > SetupKeyframePopup::refreshPreviewArt @ 0xa3cff4
// > SetupKeyframePopup::onCustomButton @ 0xa3d310
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0xa58528
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0xa58540
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0xa58558
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0xa58588
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0xa585a0
// > SecretRewardsLayer::updateUnlockedLabel @ 0xa61cac
// > cocos2d::extension::CCControl::dispatchListforControlEvent @ 0xa99904
// > cocos2d::extension::CCControlButton::getTitleColorForState @ 0xa9abd0
// > cocos2d::extension::CCControlButton::getTitleColorForState @ 0xa9ac14
// > cocos2d::extension::CCControlButton::setTitleLabelForState @ 0xa9ac68
// > cocos2d::extension::CCControlButton::setBackgroundSpriteForState @ 0xa9afbc
// > cocos2d::extension::CCControlButton::getTitleLabelForState @ 0xa9b2e8
// > cocos2d::extension::CCControlButton::getTitleLabelForState @ 0xa9b30c
// > cocos2d::extension::CCControlButton::getBackgroundSpriteForState @ 0xa9b328
// > cocos2d::extension::CCControlButton::getBackgroundSpriteForState @ 0xa9b34c
// > cocos2d::extension::CCControlButton::getTitleForState @ 0xa9ba10
// > cocos2d::extension::CCControlButton::getTitleForState @ 0xa9babc
// > cocos2d::CCDictionary::valueForKey @ 0xacfc20
// > cocos2d::CCDictionary::randomObject @ 0xad1634
// > cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel @ 0xb0a0d0
// > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0xb0a3f4
// > cocos2d::CCEGLViewProtocol::handleTouchesMove @ 0xb0a6a8
// > cocos2d::CCTMXTiledMap::propertiesForGID @ 0xb3adb0
// > cocos2d::CCTMXMapInfo::startElement @ 0xb3d3d0
// > cocos2d::CCTouchDispatcher::registerForcePrio @ 0xb3e954
// > cocos2d::CCTouchDispatcher::unregisterForcePrio @ 0xb3e9d4
// > ??> @ 0x77fe8
//
// 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
//
cocos2d::CCObject *cocos2d::CCDictionary::objectForKey(cocos2d::CCDictionary *a1, intptr_t a2)
{
cocos2d::CCDictElement *m_pElements; // x8
int v3; // w3
int v4; // w0
unsigned int v5; // w2
unsigned int v6; // w1
UT_hash_table *tbl; // x20
int v8; // w0
unsigned int v9; // w2
unsigned int v10; // w1
int v11; // w0
UT_hash_handle *hh_head; // x0
char *v13; // x19
cocos2d::CCObject *result; // x0
intptr_t v15; // [xsp+38h] [xbp+38h] BYREF
v15 = a2;
if ( a1->m_eDictType == kCCDictUnknown )
return nullptr;
m_pElements = a1->m_pElements;
if ( !m_pElements )
return nullptr;
v3 = BYTE4(v15) - 1640531527 + (HIBYTE(v15) << 24) + (BYTE6(v15) << 16) + (BYTE5(v15) << 8);
v4 = ((unsigned __int8)v15 - 1622558014 + (BYTE3(v15) << 24) + (BYTE2(v15) << 16) + (BYTE1(v15) << 8) - v3) ^ 0x7F76D;
v5 = (v3 + 17973513 - v4) ^ (v4 << 8);
v6 = (-17973513 - v4 - v5) ^ (v5 >> 13);
tbl = m_pElements->hh.tbl;
v8 = (v4 - v5 - v6) ^ (v6 >> 12);
v9 = (v5 - v6 - v8) ^ (v8 << 16);
v10 = (v6 - v8 - v9) ^ (v9 >> 5);
v11 = (v8 - v9 - v10) ^ (v10 >> 3);
hh_head = tbl->buckets[((v10 - v11 - ((v9 - v10 - v11) ^ (v11 << 10)))
^ (((v9 - v10 - v11) ^ (v11 << 10)) >> 15))
& (tbl->num_buckets - 1)].hh_head;
v13 = hh_head ? (char *)hh_head - tbl->hho : nullptr;
if ( !v13 )
return nullptr;
while ( *((_DWORD *)v13 + 80) != 8 || memcmp(*((const void **)v13 + 39), &v15, 8u) )
{
result = *((cocos2d::CCObject **)v13 + 38);
if ( !result )
return result;
v13 = (char *)result - tbl->hho;
if ( !v13 )
return nullptr;
}
return *((cocos2d::CCObject **)v13 + 33);
}