//
// cocos2d::CCDictionary::objectForKey from 0x100422db4 to 0x100422ee8 (308 bytes)
//
// 207 xrefs:
// > ChallengesPage::createChallengeNode @ 0x10003254c
// > ChallengesPage::challengeStatusFinished @ 0x100032790
// > ChallengesPage::exitNodeAtSlot @ 0x1000328a0
// > SetupAreaMoveTriggerPopup::init @ 0x100034b4c
// > SetupAreaMoveTriggerPopup::updateEnterTargetIDState @ 0x100036108
// > SetupAreaAnimTriggerPopup::init @ 0x10003a0e8
// > SetupAreaAnimTriggerPopup::updateTargetIDLabel @ 0x10003a7e8
// > SetGroupIDLayer::updateGroupIDButtons @ 0x10003e040
// > SetGroupIDLayer::updateGroupIDButtons @ 0x10003e050
// > SetGroupIDLayer::updateGroupIDButtons @ 0x10003e200
// > SetGroupIDLayer::updateGroupIDButtons @ 0x10003e240
// > SetGroupIDLayer::callRemoveFromGroup @ 0x10003eefc
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0x100062b28
// > SetupAdvFollowPopup::valueDidChange @ 0x100062da8
// > SetupAdvFollowRetargetPopup::updateDefaultTriggerValues @ 0x100064978
// > SetupAdvFollowRetargetPopup::valueDidChange @ 0x100064ba4
// > GameLevelManager::onUploadFriendRequestCompleted @ 0x10008cec8
// > GameLevelManager::onDeleteFriendRequestCompleted @ 0x10008d014
// > GameLevelManager::onAcceptFriendRequestCompleted @ 0x10008d190
// > GameLevelManager::onRemoveFriendCompleted @ 0x10008d370
// > GameLevelManager::onBlockUserCompleted @ 0x10008d508
// > GameLevelManager::tryGetUsername @ 0x1000937d8
// > GameLevelManager::userInfoForAccountID @ 0x1000938e0
// > GameLevelManager::getNextFreeTemplateID @ 0x10009a778
// > GameLevelManager::friendRequestFromAccountID @ 0x1000a49d4
// > GameLevelManager::getStoredUserMessage @ 0x1000a49e0
// > GameLevelManager::getStoredUserMessageReply @ 0x1000a4a08
// > GameLevelManager::getAllUsedSongIDs @ 0x1000ac278
// > GameLevelManager::getAllUsedSongIDs @ 0x1000ac2e0
// > MoreOptionsLayer::onToggle @ 0x1000ef428
// > MoreVideoOptionsLayer::onToggle @ 0x1000f20cc
// > ParentalOptionsLayer::onToggle @ 0x1000f3570
// > TextArea::fadeInCharacters @ 0x1000f7224
// > ConfigureHSVWidget::updateLabels @ 0x1000ffdf8
// > ConfigureHSVWidget::updateLabels @ 0x1000ffe4c
// > ConfigureHSVWidget::updateLabels @ 0x1000ffea0
// > SetupTriggerPopup::goToPage @ 0x10012ea0c
// > SetupTriggerPopup::goToPage @ 0x10012ea44
// > SetupTriggerPopup::toggleGroup @ 0x10012ecf4
// > SetupTriggerPopup::toggleGroup @ 0x10012ed2c
// > SetupTriggerPopup::valueChanged @ 0x1001307e8
// > SetupTriggerPopup::valueChanged @ 0x1001307f8
// > SetupTriggerPopup::valueChanged @ 0x100130810
// > SetupTriggerPopup::valueChanged @ 0x100130820
// > SetupTriggerPopup::updateSlider @ 0x100130894
// > SetupTriggerPopup::getTruncatedValueByTag @ 0x100130cd0
// > SetupTriggerPopup::triggerArrowChanged @ 0x100130d80
// > SetupTriggerPopup::updateValue @ 0x100131a50
// > SetupTriggerPopup::toggleDisableButtons @ 0x100131b94
// > SetupTriggerPopup::updateCustomToggleTrigger @ 0x10013214c
// > SetupTriggerPopup::updateInputNode @ 0x1001333b0
// > SetupTriggerPopup::updateToggleItem @ 0x1001335b0
// > SetupTriggerPopup::getValue @ 0x10013362c
// > SetupTriggerPopup::updateInputNodeLabel @ 0x100133708
// > SetupTriggerPopup::triggerValueFromSliderValue @ 0x100133800
// > SetupTriggerPopup::triggerValueFromSliderValue @ 0x10013381c
// > SetupTriggerPopup::triggerSliderValueFromValue @ 0x10013386c
// > SetupTriggerPopup::triggerSliderValueFromValue @ 0x100133888
// > SetupTriggerPopup::updateCustomEaseRateLabel @ 0x100134404
// > SetupTriggerPopup::updateCustomEaseLabel @ 0x100134db0
// > SetupTriggerPopup::updateCustomEaseLabel @ 0x100134de8
// > SetupTriggerPopup::toggleCustomEaseRateVisibility @ 0x100134f18
// > SetupTriggerPopup::onCustomEaseArrow @ 0x100134ff4
// > GJShopLayer::didPurchaseItem @ 0x10014c4f4
// > cocos2d::CCTouchDispatcher::registerForcePrio @ 0x10014eca8
// > cocos2d::CCTouchDispatcher::unregisterForcePrio @ 0x10014ed04
// > MusicDownloadManager::getSongInfoObject @ 0x1001542a4
// > MusicDownloadManager::createSongsInfo @ 0x100155454
// > MusicDownloadManager::clearUnusedSongs @ 0x100156270
// > MusicDownloadManager::parseMusicLibrary @ 0x1001587ac
// > MusicDownloadManager::getMusicArtistForID @ 0x100159450
// > MusicDownloadManager::storeSFXInfoObject @ 0x10015a9f8
// > MusicDownloadManager::getSFXObject @ 0x10015ac88
// > MusicDownloadManager::getSFXFolderObjectForID @ 0x10015acb0
// > MusicDownloadManager::getSFXFolderObjectForID @ 0x10015acd4
// > SongInfoObject::getArtistNames @ 0x10015bf3c
// > SFXSearchResult::updateObjects @ 0x10015d190
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0x100189a68
// > SetupShaderEffectPopup::valueDidChange @ 0x100189fc0
// > CommunityCreditsPage::init @ 0x1001a1a48
// > CommunityCreditsPage::goToPage @ 0x1001a2878
// > cocos2d::extension::CCControl::dispatchListforControlEvent @ 0x1001a5bf4
// > LevelTools::moveTriggerObjectsToArray @ 0x1001a96d0
// > LevelTools::moveTriggerObjectsToArray @ 0x1001a974c
// > LevelTools::sortChannelOrderObjects @ 0x1001a97e4
// > LevelTools::sortChannelOrderObjects @ 0x1001a984c
// > LevelTools::sortChannelOrderObjects @ 0x1001a98d0
// > LevelTools::sortChannelOrderObjects @ 0x1001a98e4
// > LevelTools::sortChannelOrderObjects @ 0x1001a9910
// > LevelTools::sortChannelOrderObjects @ 0x1001a9998
// > SetupKeyframePopup::refreshPreviewArt @ 0x1001b5904
// > SetupKeyframePopup::onCustomButton @ 0x1001b5c98
// > SetupKeyframePopup::onClose @ 0x1001b5d84
// > GauntletSelectLayer::onPlay @ 0x1001bfc48
// > GauntletSelectLayer::playUnlockAnimation @ 0x1001c00a0
// > GauntletSelectLayer::unlockAnimationStep2 @ 0x1001c0654
// > GauntletSelectLayer::unlockAnimationFinished @ 0x1001c08cc
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x1001c090c
// > GJMultiplayerManager::addComment @ 0x1001cf50c
// > GJMultiplayerManager::addComment @ 0x1001cf610
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0x1001d3618
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0x1001d3630
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0x1001d365c
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0x1001d3674
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0x1001d368c
// > GJBaseGameLayer::sortStickyGroups @ 0x1001e0bac
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e0fbc
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e1170
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e1234
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e1274
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e12d0
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e13b8
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e13ec
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e14d4
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e1520
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e1550
// > GJBaseGameLayer::positionUIObjects @ 0x1001e185c
// > GJBaseGameLayer::refreshKeyframeAnims @ 0x1001e1f94
// > GJBaseGameLayer::refreshKeyframeAnims @ 0x1001e2034
// > GJBaseGameLayer::parentForZLayer @ 0x1001e33c4
// > GJBaseGameLayer::playKeyframeAnimation @ 0x1001ea6f4
// > GJBaseGameLayer::tryGetMainObject @ 0x1001ea7c0
// > GJBaseGameLayer::getActiveOrderSpawnObjects @ 0x1001ec0bc
// > GJBaseGameLayer::controlGradientTrigger @ 0x1001ee43c
// > GJBaseGameLayer::triggerGradientCommand @ 0x1001ef984
// > GJBaseGameLayer::removeFromGroup @ 0x1001f2680
// > GJBaseGameLayer::getGroupParent @ 0x1001f26bc
// > GJBaseGameLayer::removeGroupParent @ 0x1001f26e8
// > GJBaseGameLayer::removeGroupParent @ 0x1001f26fc
// > GJBaseGameLayer::setGroupParent @ 0x1001f2880
// > GJBaseGameLayer::setGroupParent @ 0x1001f28c0
// > GJBaseGameLayer::removeFromGroupParents @ 0x1001f2978
// > GJBaseGameLayer::addToGroupParents @ 0x1001f2a24
// > GJBaseGameLayer::addToGroupParents @ 0x1001f2a58
// > GJBaseGameLayer::getGroupParentsString @ 0x1001f2aec
// > GJBaseGameLayer::getStickyGroup @ 0x1001f2d4c
// > GJBaseGameLayer::ungroupStickyObjects @ 0x1001f2ea4
// > GJBaseGameLayer::assignNewStickyGroups @ 0x1001f2f68
// > GJBaseGameLayer::removeFromStickyGroup @ 0x1001f301c
// > GJBaseGameLayer::reAddToStickyGroup @ 0x1001f30f8
// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x1001f4fa0
// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x1001f4fc0
// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x1001f5370
// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x1001f5390
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x1001f5904
// > GJBaseGameLayer::processAreaFadeGroupAction @ 0x1001f5c30
// > GJBaseGameLayer::processAreaTintGroupAction @ 0x1001f5e18
// > GJBaseGameLayer::processAreaTintGroupAction @ 0x1001f6040
// > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001f9a64
// > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001fa628
// > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001fa6a0
// > GJBaseGameLayer::addKeyframe @ 0x1001fb394
// > GJBaseGameLayer::updateKeyframeOrder @ 0x1001fb414
// > GJBaseGameLayer::removeKeyframe @ 0x1001fb4b8
// > PlayerObject::postCollision @ 0x10021f1c4
// > PlayerObject::postCollision @ 0x10021f29c
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x100231208
// > SetupInstantCollisionTriggerPopup::updateSpecialNodes @ 0x100231334
// > CreateParticlePopup::toggleGravityMode @ 0x1002cf3e4
// > CreateParticlePopup::toggleGravityMode @ 0x1002cf400
// > CreateParticlePopup::toggleGravityMode @ 0x1002cf41c
// > CreateParticlePopup::toggleGravityMode @ 0x1002cf438
// > CreateParticlePopup::toggleGravityMode @ 0x1002cf464
// > CreateParticlePopup::toggleGravityMode @ 0x1002cf480
// > CreateParticlePopup::toggleGravityMode @ 0x1002cf49c
// > CreateParticlePopup::toggleGravityMode @ 0x1002cf4b8
// > CreateParticlePopup::updateInputNodeStringForType @ 0x1002cf5e8
// > CreateParticlePopup::updateSliderForType @ 0x1002cf808
// > GJOptionsLayer::onToggle @ 0x1002d3b48
// > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x1002e6e34
// > cocos2d::CCEGLViewProtocol::handleTouchesMove @ 0x1002e7068
// > cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel @ 0x1002e71a8
// > SecretRewardsLayer::updateUnlockedLabel @ 0x1002e9c24
// > GJActionManager::stopInternalAction @ 0x1002fe420
// > GJActionManager::updateInternalActions @ 0x1002fe4bc
// > SecretLayer2::selectAThread @ 0x10030d34c
// > GameStatsManager::getStoreItem_1 @ 0x10032be68
// > GameStatsManager::purchaseItem @ 0x10032bf28
// > GameStatsManager::getRewardItem @ 0x100333398
// > GameStatsManager::areRewardsLoaded @ 0x1003333ac
// > GameStatsManager::recountSpecialStats @ 0x100335894
// > GameStatsManager::recountSpecialStats @ 0x1003358d4
// > GameStatsManager::unlockSecretChest @ 0x10033e028
// > GameStatsManager::unlockGoldChest @ 0x10033e190
// > EnhancedGameObject::updateSyncedAnimation @ 0x100348228
// > EnhancedGameObject::updateSyncedAnimation @ 0x100348280
// > sub_100348D38 @ 0x100348d58
// > sub_100348D70 @ 0x100348d90
// > EnhancedGameObject::updateAnimateOnTrigger @ 0x100348fa0
// > EnhancedGameObject::setupAnimationVariables @ 0x1003490a8
// > EnhancedGameObject::setupAnimationVariables @ 0x1003490cc
// > GameManager::addCustomAnimationFrame @ 0x10034f5cc
// > GameManager::addCustomAnimationFrame @ 0x10034f61c
// > SecretLayer4::selectAThread @ 0x10035609c
// > LevelEditorLayer::duplicateKeyframeAnimation @ 0x1003642b4
// > LevelEditorLayer::reverseKeyframeAnimationOrder @ 0x100364374
// > ShardsPage::init @ 0x1003a2060
// > ShardsPage::goToPage @ 0x1003a3344
// > SecretLayer::selectAThread @ 0x1003bf54c
// > EditorUI::onDelete @ 0x1003e69f0
// > EditorUI::addObjectsToSmartTemplate @ 0x1003f1074
// > EditorUI::addObjectsToSmartTemplate @ 0x1003f1104
// > EditorUI::createSmartObjectsFromTemplate @ 0x1003f191c
// > EditorUI::createNewKeyframeAnim @ 0x1003f3594
// > EditorUI::alignObjects @ 0x1003f79d0
// > SetupEnterEffectPopup::init @ 0x100400b3c
// > cocos2d::CCDictionary::valueForKey @ 0x100422ef8
//
// 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 *__fastcall cocos2d::CCDictionary::objectForKey(cocos2d::CCDictionary *a1, intptr_t a2)
{
cocos2d::CCDictElement *m_pElements; // x8
int v3; // w10
unsigned int v4; // w9
unsigned int v5; // w11
int v6; // w10
unsigned int v7; // w9
unsigned int v8; // w11
int v9; // w10
UT_hash_table *tbl; // x8
UT_hash_handle *hh_head; // x9
std::ptrdiff_t v12; // x8
__int64 v13; // x9
if ( a1->m_eDictType == kCCDictUnknown )
return nullptr;
m_pElements = a1->m_pElements;
if ( !m_pElements )
return nullptr;
v3 = ((a2 & 0xFF000000) - (HIDWORD(a2) - 1640531527) + (a2 & 0xFFFF00) + (unsigned __int8)a2 - 1622558014) ^ 0x7F76D;
v4 = (HIDWORD(a2) - 1640531527 - v3 + 17973513) ^ (v3 << 8);
v5 = (-17973513 - v3 - v4) ^ (v4 >> 13);
v6 = (v3 - v4 - v5) ^ (v5 >> 12);
v7 = (v4 - v5 - v6) ^ (v6 << 16);
v8 = (v5 - v6 - v7) ^ (v7 >> 5);
v9 = (v6 - v7 - v8) ^ (v8 >> 3);
tbl = m_pElements->hh.tbl;
hh_head = tbl->buckets[((v8 - v9 - ((v7 - v8 - v9) ^ (v9 << 10)))
^ (((v7 - v8 - v9) ^ (v9 << 10)) >> 15))
& (tbl->num_buckets - 1)].hh_head;
if ( !hh_head )
return nullptr;
v12 = -tbl->hho;
while ( 1 )
{
v13 = (__int64)hh_head + v12;
if ( *(_DWORD *)(v13 + 320) == 8 && **(_QWORD **)(v13 + 312) == a2 )
break;
hh_head = *(UT_hash_handle **)(v13 + 304);
if ( !hh_head )
return nullptr;
}
return *(cocos2d::CCObject **)(v13 + 264);
}