//
// cocos2d::CCDictionary::objectForKey_1 from 0x1004a5288 to 0x1004a53bc (308 bytes)
//
// 278 xrefs:
// > ChallengesPage::createChallengeNode @ 0x100035ff8
// > ChallengesPage::challengeStatusFinished @ 0x100036290
// > ChallengesPage::exitNodeAtSlot @ 0x1000363a0
// > sub_100037CA8 @ 0x100038660
// > sub_1000399E4 @ 0x100039a94
// > SetupAreaAnimTriggerPopup::init @ 0x10003da70
// > sub_10003E144 @ 0x10003e15c
// > SetGroupIDLayer::updateGroupIDButtons @ 0x1000419d0
// > SetGroupIDLayer::updateGroupIDButtons @ 0x1000419e0
// > SetGroupIDLayer::updateGroupIDButtons @ 0x100041a58
// > SetGroupIDLayer::updateGroupIDButtons @ 0x100041b80
// > SetGroupIDLayer::updateGroupIDButtons @ 0x100041bcc
// > SetGroupIDLayer::updateGroupIDButtons @ 0x100041be4
// > sub_100042BA8 @ 0x100042bd8
// > sub_100042BA8 @ 0x100042be8
// > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0x10006b7f4
// > SetupAdvFollowPopup::valueDidChange @ 0x10006ba74
// > SetupAdvFollowEditPhysicsPopup::valueDidChange @ 0x10006d09c
// > SetupAdvFollowRetargetPopup::updateDefaultTriggerValues @ 0x10006d68c
// > SetupAdvFollowRetargetPopup::valueDidChange @ 0x10006d85c
// > SetupAdvFollowRetargetPopup::valueDidChange @ 0x10006d8f4
// > sub_100099F60 @ 0x10009a034
// > sub_10009A0A8 @ 0x10009a180
// > sub_10009A224 @ 0x10009a2fc
// > sub_10009A400 @ 0x10009a4dc
// > sub_10009A5B8 @ 0x10009a680
// > sub_1000A42E0 @ 0x1000a44f4
// > sub_1000A5024 @ 0x1000a5794
// > sub_1000A7734 @ 0x1000a77dc
// > GameLevelManager::userInfoForAccountID @ 0x1000a78e8
// > sub_1000B0A1C @ 0x1000b0aa4
// > GameLevelManager::friendRequestFromAccountID @ 0x1000beda4
// > GameLevelManager::getStoredUserMessage @ 0x1000bedb0
// > sub_1000CDF34 @ 0x1000cdf80
// > sub_1000CDF34 @ 0x1000cdfe8
// > MoreVideoOptionsLayer::onToggle @ 0x100115f88
// > sub_100117F58 @ 0x100117f88
// > sub_10011BAB0 @ 0x10011bcb8
// > sub_1001249D4 @ 0x100124a04
// > sub_1001249D4 @ 0x100124a58
// > sub_1001249D4 @ 0x100124aac
// > PlayLayer::startMusic @ 0x1001426ac
// > PlayLayer::startMusic @ 0x100142768
// > PlayLayer::resetLevel @ 0x10014ba70
// > EditorUI::alignObjectsOnAxis @ 0x10015f094
// > EditorUI::alignObjects @ 0x10015f4f0
// > GameSettingsLayer::addToggle @ 0x100166280
// > sub_1001AC4E8 @ 0x1001ac5dc
// > sub_1001AC4E8 @ 0x1001ac614
// > sub_1001AC730 @ 0x1001ac7f0
// > SetupTriggerPopup::toggleGroup @ 0x1001ac914
// > SetupTriggerPopup::toggleGroup @ 0x1001ac94c
// > SetupTriggerPopup::valueChanged @ 0x1001ae4dc
// > SetupTriggerPopup::valueChanged @ 0x1001ae4ec
// > SetupTriggerPopup::valueChanged @ 0x1001ae504
// > SetupTriggerPopup::valueChanged @ 0x1001ae514
// > sub_1001AE570 @ 0x1001ae588
// > sub_1001AE9A8 @ 0x1001ae9c0
// > SetupTriggerPopup::triggerArrowChanged @ 0x1001aea78
// > sub_1001AFA70 @ 0x1001afa94
// > sub_1001AFB84 @ 0x1001afbd8
// > sub_1001B0178 @ 0x1001b0190
// > SetupTriggerPopup::updateInputNode @ 0x1001b13bc
// > SetupTriggerPopup::updateInputNode @ 0x1001b1500
// > SetupTriggerPopup::updateToggleItem @ 0x1001b15e4
// > SetupTriggerPopup::getValue @ 0x1001b1660
// > sub_1001B1710 @ 0x1001b173c
// > SetupTriggerPopup::triggerValueFromSliderValue @ 0x1001b1854
// > SetupTriggerPopup::triggerValueFromSliderValue @ 0x1001b1870
// > SetupTriggerPopup::triggerSliderValueFromValue @ 0x1001b18c0
// > SetupTriggerPopup::triggerSliderValueFromValue @ 0x1001b18dc
// > sub_1001B26A4 @ 0x1001b26c4
// > sub_1001B3028 @ 0x1001b309c
// > sub_1001B3028 @ 0x1001b30d4
// > sub_1001B3158 @ 0x1001b3204
// > sub_1001B3270 @ 0x1001b32e0
// > CreateStartPosPopup::onCreate @ 0x1001c217c
// > GJShopLayer::didPurchaseItem @ 0x1001cadf4
// > cocos2d::CCTouchDispatcher::registerForcePrio @ 0x1001cd5e8
// > cocos2d::CCTouchDispatcher::unregisterForcePrio @ 0x1001cd688
// > sub_1001CD6DC @ 0x1001cd718
// > sub_1001CD6DC @ 0x1001cd728
// > sub_1001CD6DC @ 0x1001cd738
// > MusicDownloadManager::getSongInfoObject @ 0x1001d3058
// > MusicDownloadManager::createSongsInfo @ 0x1001d4024
// > MusicDownloadManager::clearUnusedSongs @ 0x1001d4cf8
// > MusicDownloadManager::getCustomSFXRoot @ 0x1001d63e8
// > sub_1001D6594 @ 0x1001d6628
// > sub_1001D6764 @ 0x1001d6778
// > sub_1001D6784 @ 0x1001d67b0
// > sub_1001D6784 @ 0x1001d67d4
// > sub_1001D68F0 @ 0x1001d691c
// > MusicDownloadManager::createCustomSFXFolder @ 0x1001d69ec
// > MusicDownloadManager::createCustomSFXPlacement @ 0x1001d6bb4
// > MusicDownloadManager::createCustomSFXPlacement @ 0x1001d6c9c
// > MusicDownloadManager::getSFXObject @ 0x1001d6d74
// > sub_1001D6E84 @ 0x1001d6ecc
// > sub_1001D6E84 @ 0x1001d6f10
// > MusicDownloadManager::customSFXPathDisplay @ 0x1001d7340
// > MusicDownloadManager::customSFXPathDisplay @ 0x1001d7408
// > sub_1001D7498 @ 0x1001d7510
// > sub_1001D7498 @ 0x1001d755c
// > sub_1001D7714 @ 0x1001d77d4
// > sub_1001D8378 @ 0x1001d83a8
// > sub_1001D852C @ 0x1001d8654
// > sub_1001D852C @ 0x1001d878c
// > sub_1001D8A78 @ 0x1001d8b28
// > sub_1001D97E0 @ 0x1001d980c
// > sub_1001D989C @ 0x1001d98d4
// > sub_1001D989C @ 0x1001d98f8
// > sub_1001D989C @ 0x1001d9968
// > sub_1001D99C8 @ 0x1001d9a08
// > sub_1001DAE50 @ 0x1001dafb0
// > MusicDownloadManager::parseMusicLibrary @ 0x1001dc3b4
// > MusicDownloadManager::parseMusicLibrary @ 0x1001dcc20
// > MusicDownloadManager::parseMusicLibrary @ 0x1001dcc90
// > MusicDownloadManager::getMusicArtistForID @ 0x1001de10c
// > sub_1001DFB88 @ 0x1001dfbb8
// > sub_1001DFCD0 @ 0x1001dfcf0
// > sub_1001DFCD0 @ 0x1001dfd14
// > sub_1001E2D18 @ 0x1001e2f14
// > SongInfoObject::getArtistLinks @ 0x1001e348c
// > sub_1001E3FCC @ 0x1001e40ac
// > SFXSearchResult::updateObjects @ 0x1001e51d0
// > SFXSearchResult::updateObjects @ 0x1001e525c
// > SFXSearchResult::updateObjects @ 0x1001e53f4
// > SFXSearchResult::updateObjects @ 0x1001e5494
// > SFXSearchResult::updateObjects @ 0x1001e5550
// > StartPosLayer::init @ 0x1002100e4
// > StartPosLayer::onClose @ 0x1002107a0
// > StartPosLayer::updateInputNode @ 0x10021095c
// > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0x10021c9f4
// > SetupShaderEffectPopup::valueDidChange @ 0x10021cf4c
// > CommunityCreditsPage::init @ 0x100236850
// > sub_10023760C @ 0x100237680
// > cocos2d::extension::CCControl::dispatchListforControlEvent @ 0x10023ab64
// > sub_10023E4A0 @ 0x10023e4c0
// > sub_10023E4A0 @ 0x10023e53c
// > sub_10023E558 @ 0x10023e5d4
// > sub_10023E558 @ 0x10023e63c
// > sub_10023E558 @ 0x10023e6c0
// > sub_10023E558 @ 0x10023e6d4
// > sub_10023E558 @ 0x10023e700
// > sub_10023E558 @ 0x10023e788
// > sub_10024A580 @ 0x10024a634
// > SetupKeyframePopup::onCustomButton @ 0x10024a9c8
// > SetupKeyframePopup::onClose @ 0x10024aab4
// > GauntletSelectLayer::onPlay @ 0x1002557c4
// > GauntletSelectLayer::playUnlockAnimation @ 0x100255c1c
// > GauntletSelectLayer::unlockAnimationStep2 @ 0x1002561cc
// > GauntletSelectLayer::unlockAnimationFinished @ 0x100256444
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x100256484
// > sub_100267408 @ 0x100267434
// > sub_100267408 @ 0x100267538
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0x10026b5e8
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0x10026b600
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0x10026b62c
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0x10026b644
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0x10026b65c
// > GJBaseGameLayer::sortStickyGroups @ 0x10027b260
// > GJBaseGameLayer::generateTargetGroups @ 0x10027b824
// > GJBaseGameLayer::generateTargetGroups @ 0x10027b8e8
// > GJBaseGameLayer::generateTargetGroups @ 0x10027b928
// > GJBaseGameLayer::generateTargetGroups @ 0x10027b984
// > GJBaseGameLayer::generateTargetGroups @ 0x10027ba6c
// > GJBaseGameLayer::generateTargetGroups @ 0x10027baa0
// > GJBaseGameLayer::generateTargetGroups @ 0x10027bb88
// > GJBaseGameLayer::generateTargetGroups @ 0x10027bbd4
// > GJBaseGameLayer::generateTargetGroups @ 0x10027bc04
// > GJBaseGameLayer::refreshKeyframeAnims @ 0x10027c648
// > GJBaseGameLayer::refreshKeyframeAnims @ 0x10027c6e8
// > GJBaseGameLayer::parentForZLayer @ 0x10027da78
// > GJBaseGameLayer::playKeyframeAnimation @ 0x1002862f0
// > GJBaseGameLayer::getActiveOrderSpawnObjects @ 0x100287b78
// > GJBaseGameLayer::controlGradientTrigger @ 0x100289f10
// > GJBaseGameLayer::triggerGradientCommand @ 0x10028b458
// > sub_10028E190 @ 0x10028e1ac
// > GJBaseGameLayer::removeGroupParent @ 0x10028e204
// > GJBaseGameLayer::removeGroupParent @ 0x10028e23c
// > sub_10028E320 @ 0x10028e334
// > GJBaseGameLayer::setGroupParent @ 0x10028e3a4
// > GJBaseGameLayer::setGroupParent @ 0x10028e3ec
// > GJBaseGameLayer::promoteGroupParent @ 0x10028e4ac
// > sub_10028E54C @ 0x10028e59c
// > sub_10028E54C @ 0x10028e5e4
// > sub_10028E54C @ 0x10028e66c
// > sub_10028E6D8 @ 0x10028e70c
// > sub_10028E6D8 @ 0x10028e754
// > GJBaseGameLayer::addToGroupParents @ 0x10028e8b4
// > GJBaseGameLayer::getGroupParentsString @ 0x10028e9e0
// > GJBaseGameLayer::getGroupParentsString @ 0x10028ea68
// > GJBaseGameLayer::getStickyGroup @ 0x10028edb0
// > GJBaseGameLayer::ungroupStickyObjects @ 0x10028ef08
// > GJBaseGameLayer::assignNewStickyGroups @ 0x10028efcc
// > GJBaseGameLayer::removeFromStickyGroup @ 0x10028f080
// > GJBaseGameLayer::reAddToStickyGroup @ 0x10028f15c
// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x10029122c
// > GJBaseGameLayer::processAreaTransformGroupAction @ 0x10029124c
// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x100291600
// > GJBaseGameLayer::processAreaRotateGroupAction @ 0x100291620
// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x100291b98
// > GJBaseGameLayer::processAreaFadeGroupAction @ 0x100291ec4
// > GJBaseGameLayer::processAreaTintGroupAction @ 0x1002920ac
// > GJBaseGameLayer::processAreaTintGroupAction @ 0x1002922d4
// > GJBaseGameLayer::processAdvancedFollowAction @ 0x100295c7c
// > GJBaseGameLayer::processAdvancedFollowAction @ 0x100296840
// > GJBaseGameLayer::processAdvancedFollowAction @ 0x1002968b8
// > GJBaseGameLayer::addKeyframe @ 0x100297580
// > GJBaseGameLayer::updateKeyframeOrder @ 0x100297600
// > GJBaseGameLayer::removeKeyframe @ 0x1002976a4
// > PlayerObject::postCollision @ 0x1002bbd34
// > PlayerObject::postCollision @ 0x1002bbe0c
// > sub_1002CC8F0 @ 0x1002cc958
// > sub_1002CC8F0 @ 0x1002ccaac
// > sub_1002CD204 @ 0x1002cd26c
// > sub_1002CD204 @ 0x1002cd398
// > sub_10036E414 @ 0x10036e45c
// > sub_10036E414 @ 0x10036e478
// > sub_10036E414 @ 0x10036e494
// > sub_10036E414 @ 0x10036e4b0
// > sub_10036E414 @ 0x10036e4dc
// > sub_10036E414 @ 0x10036e4f8
// > sub_10036E414 @ 0x10036e514
// > sub_10036E414 @ 0x10036e530
// > sub_10036E630 @ 0x10036e660
// > sub_10036E854 @ 0x10036e880
// > GJOptionsLayer::onToggle @ 0x1003723c4
// > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x100381e84
// > cocos2d::CCEGLViewProtocol::handleTouchesMove @ 0x1003820b8
// > cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel @ 0x1003821f8
// > SecretRewardsLayer::updateUnlockedLabel @ 0x100384dac
// > GJActionManager::stopInternalAction @ 0x10039ae3c
// > sub_10039AE7C @ 0x10039aed8
// > sub_1003A9FD4 @ 0x1003aa064
// > sub_1003C9D40 @ 0x1003c9d48
// > GameStatsManager::purchaseItem @ 0x1003c9e08
// > sub_1003D145C @ 0x1003d1464
// > sub_1003D1468 @ 0x1003d1478
// > GameStatsManager::recountSpecialStats @ 0x1003d3cdc
// > GameStatsManager::recountSpecialStats @ 0x1003d3d1c
// > GameStatsManager::unlockSecretChest @ 0x1003dca80
// > sub_1003DCBB4 @ 0x1003dcbe8
// > EnhancedGameObject::updateSyncedAnimation @ 0x1003e674c
// > EnhancedGameObject::updateSyncedAnimation @ 0x1003e67a4
// > sub_1003E725C @ 0x1003e727c
// > sub_1003E7294 @ 0x1003e72b4
// > EnhancedGameObject::updateAnimateOnTrigger @ 0x1003e74c4
// > sub_1003E75A4 @ 0x1003e75cc
// > sub_1003E75A4 @ 0x1003e75f0
// > sub_1003EDABC @ 0x1003edb00
// > sub_1003EDABC @ 0x1003edb50
// > sub_1003F58FC @ 0x1003f598c
// > LevelEditorLayer::duplicateKeyframeAnimation @ 0x100406388
// > sub_10040642C @ 0x100406448
// > ShardsPage::init @ 0x100448b0c
// > sub_100449D7C @ 0x100449df0
// > sub_10045CE68 @ 0x10045cfec
// > sub_1004661EC @ 0x10046627c
// > EditorUI::onDelete @ 0x1004742c4
// > EditorUI::addObjectsToSmartTemplate @ 0x10047873c
// > EditorUI::addObjectsToSmartTemplate @ 0x1004787cc
// > EditorUI::createSmartObjectsFromTemplate @ 0x100479000
// > sub_10047AA1C @ 0x10047aadc
// > sub_10047FDC8 @ 0x100481404
// > SetupItemEditTriggerPopup::onCustomToggleTriggerValue @ 0x10048df88
// > SetupItemCompareTriggerPopup::onCustomToggleTriggerValue @ 0x10048fa34
// > SetupPersistentItemTriggerPopup::valueDidChange @ 0x1004903a0
// > SetupStopTriggerPopup::valueDidChange @ 0x1004924b4
// > SetItemIDLayer::valueDidChange @ 0x10049c2b8
// > cocos2d::CCDictionary::valueForKey_1 @ 0x1004a53cc
// > sub_1004C4744 @ 0x1004c47cc
// > sub_1004C4FA8 @ 0x1004c5014
// > sub_1004C4FA8 @ 0x1004c5034
// > sub_1004C4FA8 @ 0x1004c5054
// > GridSettingsLayer::onBuildWindowContent @ 0x1004df228
// > GridSettingsLayer::onBuildWindowContent @ 0x1004df250
// > MoveStepPopup::onBuildWindowContent @ 0x10053ca2c
// > sub_10053CB4C @ 0x10053cb9c
//
// 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 11:06:04 +0000
//
__int64 __fastcall cocos2d::CCDictionary::objectForKey_1(__int64 a1, __int64 a2)
{
__int64 v2; // 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
__int64 v10; // x8
__int64 v11; // x9
__int64 v12; // x8
__int64 v13; // x9
if ( !*(_DWORD *)(a1 + 64) )
return 0;
v2 = *(_QWORD *)(a1 + 56);
if ( !v2 )
return 0;
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);
v10 = *(_QWORD *)(v2 + 272);
v11 = *(_QWORD *)(*(_QWORD *)v10
+ 16LL
* (((v8 - v9 - ((v7 - v8 - v9) ^ (v9 << 10)))
^ (((v7 - v8 - v9) ^ (v9 << 10)) >> 15))
& (*(_DWORD *)(v10 + 8) - 1)));
if ( !v11 )
return 0;
v12 = -*(_QWORD *)(v10 + 32);
while ( 1 )
{
v13 = v11 + v12;
if ( *(_DWORD *)(v13 + 320) == 8 && **(_QWORD **)(v13 + 312) == a2 )
break;
v11 = *(_QWORD *)(v13 + 304);
if ( !v11 )
return 0;
}
return *(_QWORD *)(v13 + 264);
}