//
// cocos2d::CCDictionary::setObject from 0x100423820 to 0x1004239a4 (388 bytes)
//
// 159 xrefs:
// > SetupTeleportPopup::onTeleportGravity @ 0x10000c1ac
// > GJEffectManager::getColorSprite @ 0x10000f1c8
// > GJEffectManager::processInheritedColors @ 0x10000f494
// > GJEffectManager::processInheritedColors @ 0x10000f4c8
// > GJEffectManager::setColorAction @ 0x10000fb40
// > GJEffectManager::colorActionChanged @ 0x10000fbf0
// > ChallengesPage::createChallengeNode @ 0x100032634
// > SetupAreaMoveTriggerPopup::onSpecialTarget @ 0x100035e44
// > SetGroupIDLayer::updateGroupIDButtons @ 0x10003df98
// > SetGroupIDLayer::updateGroupIDButtons @ 0x10003dfd8
// > SetGroupIDLayer::updateGroupIDButtons @ 0x10003e07c
// > SetGroupIDLayer::updateGroupIDButtons @ 0x10003e0b4
// > GameLevelManager::onGetGJUserInfoCompleted @ 0x10008cd5c
// > GameLevelManager::onGetGJUserInfoCompleted @ 0x10008cd8c
// > GameLevelManager::onGetFriendRequestsCompleted @ 0x10008dd1c
// > GameLevelManager::onGetUserMessagesCompleted @ 0x10008e180
// > GameLevelManager::onDownloadUserMessageCompleted @ 0x10008e550
// > GameLevelManager::storeUserName @ 0x100093624
// > GameLevelManager::storeUserName @ 0x100093644
// > GameLevelManager::getNextFreeTemplateID @ 0x10009a74c
// > GameLevelManager::storeUserMessageReply @ 0x1000a49f8
// > GameLevelManager::getAllUsedSongIDs @ 0x1000ac298
// > GameLevelManager::getAllUsedSongIDs @ 0x1000ac2f8
// > MoreOptionsLayer::addToggle @ 0x1000ee908
// > MoreVideoOptionsLayer::addToggle @ 0x1000f18c4
// > ParentalOptionsLayer::addToggle @ 0x1000f2d8c
// > TextArea::fadeInCharacters @ 0x1000f7244
// > ConfigureHSVWidget::createTextInputNode @ 0x1000ffb04
// > CharacterColorPage::createColorMenu @ 0x100129b04
// > SetupTriggerPopup::textChanged @ 0x10012fcec
// > SetupTriggerPopup::updateValueControls @ 0x100130e58
// > SetupTriggerPopup::createValueControlAdvanced @ 0x100131208
// > SetupTriggerPopup::createValueControlAdvanced @ 0x1001314c8
// > SetupTriggerPopup::createValueControlAdvanced @ 0x100131628
// > SetupTriggerPopup::createValueControlAdvanced @ 0x100131644
// > SetupTriggerPopup::createValueControlAdvanced @ 0x100131668
// > SetupTriggerPopup::createValueControlAdvanced @ 0x1001318b4
// > SetupTriggerPopup::setMaxSliderValue @ 0x1001319ec
// > SetupTriggerPopup::createToggleValueControlAdvanced @ 0x100131e84
// > SetupTriggerPopup::createCustomToggleValueControl @ 0x1001320d0
// > SetupTriggerPopup::updateDefaultTriggerValues @ 0x100132938
// > SetupTriggerPopup::updateDefaultTriggerValues @ 0x100132a28
// > SetupTriggerPopup::updateToggleItem @ 0x1001335a4
// > SetupTriggerPopup::createCustomEasingControls @ 0x100134520
// > SetupTriggerPopup::createCustomEasingControls @ 0x100134544
// > SetupTriggerPopup::createCustomEasingControls @ 0x100134560
// > SetupTriggerPopup::createCustomEasingControls @ 0x1001346ac
// > SetupTriggerPopup::createCustomEasingControls @ 0x1001347f4
// > SetupTriggerPopup::createCustomEasingControls @ 0x100134908
// > SetupTriggerPopup::toggleCustomEaseRateVisibility @ 0x100134f80
// > GJShopLayer::init @ 0x10014b6c4
// > cocos2d::CCTouchDispatcher::registerForcePrio @ 0x10014ece0
// > sub_100155580 @ 0x100155700
// > MusicDownloadManager::parseMusicLibrary @ 0x10015841c
// > MusicDownloadManager::parseMusicLibrary @ 0x1001589c0
// > MusicDownloadManager::storeSFXInfoObject @ 0x10015a9e4
// > CommunityCreditsPage::init @ 0x1001a1a68
// > CommunityCreditsPage::init @ 0x1001a1c00
// > cocos2d::extension::CCControl::dispatchListforControlEvent @ 0x1001a5c18
// > LevelTools::createStarPackDict @ 0x1001a9624
// > LevelTools::sortChannelOrderObjects @ 0x1001a9804
// > LevelTools::sortChannelOrderObjects @ 0x1001a986c
// > SetupKeyframePopup::onTimeMode @ 0x1001b577c
// > GauntletSelectLayer::setupGauntlets @ 0x1001bf3f8
// > GJMultiplayerManager::onJoinLobbyCompleted @ 0x1001cecb4
// > GJMultiplayerManager::onJoinLobbyCompleted @ 0x1001ced1c
// > GJMultiplayerManager::addComment @ 0x1001cf52c
// > GJBaseGameLayer::sortStickyGroups @ 0x1001e0bcc
// > GJBaseGameLayer::sortStickyGroups @ 0x1001e0c58
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e1268
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e12a8
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e13e0
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e1414
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e1544
// > GJBaseGameLayer::generateTargetGroups @ 0x1001e1560
// > GJBaseGameLayer::refreshKeyframeAnims @ 0x1001e1fc4
// > GJBaseGameLayer::refreshKeyframeAnims @ 0x1001e2074
// > GJBaseGameLayer::getGroup @ 0x1001e2448
// > GJBaseGameLayer::parentForZLayer @ 0x1001e34a8
// > GJBaseGameLayer::triggerGradientCommand @ 0x1001ef9a8
// > GJBaseGameLayer::getOptimizedGroup @ 0x1001f2520
// > GJBaseGameLayer::getStaticGroup @ 0x1001f2584
// > GJBaseGameLayer::setGroupParent @ 0x1001f28b4
// > GJBaseGameLayer::setGroupParent @ 0x1001f28e0
// > GJBaseGameLayer::removeFromGroupParents @ 0x1001f29c8
// > GJBaseGameLayer::groupStickyObjects @ 0x1001f2e5c
// > GJBaseGameLayer::assignNewStickyGroups @ 0x1001f2f88
// > GJBaseGameLayer::restoreAllUIObjects @ 0x1001f34c8
// > GJBaseGameLayer::updateObjectSection @ 0x1001f42d4
// > GJBaseGameLayer::createNewKeyframeAnim @ 0x1001fb34c
// > PlayerObject::updateCollideTop @ 0x100224864
// > PlayerObject::updateCollideBottom @ 0x1002248d8
// > PlayerObject::updateCollideRight @ 0x100224994
// > PlayerObject::updateCollideLeft @ 0x100224a10
// > CreateParticlePopup::createParticleSlider @ 0x1002ce864
// > CreateParticlePopup::createParticleSlider @ 0x1002ce874
// > CreateParticlePopup::createParticleSlider @ 0x1002ce978
// > CreateParticlePopup::createParticleSlider @ 0x1002ce988
// > GJOptionsLayer::addGVToggle @ 0x1002d3548
// > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x1002e6ee8
// > SecretRewardsLayer::init @ 0x1002e8da8
// > GJActionManager::runInternalAction @ 0x1002fe3e4
// > SecretLayer2::init @ 0x100309860
// > SecretLayer2::init @ 0x1003098b4
// > SecretLayer2::init @ 0x1003098f4
// > SecretLayer2::init @ 0x100309934
// > SecretLayer2::init @ 0x100309974
// > SecretLayer2::init @ 0x1003099b4
// > SecretLayer2::init @ 0x1003099f4
// > SecretLayer2::init @ 0x100309a34
// > GameStatsManager::addStoreItem @ 0x10032bd50
// > GameStatsManager::storeRewardState @ 0x100333278
// > GameStatsManager::createSecretChestRewards @ 0x1003389a4
// > GameStatsManager::createSecretChestRewards @ 0x100339f50
// > GameStatsManager::createSecretChestRewards @ 0x10033b86c
// > GameStatsManager::createSecretChestRewards @ 0x10033c644
// > GameStatsManager::createSecretChestRewards @ 0x10033cfa4
// > GameStatsManager::createSecretChestRewards @ 0x10033d718
// > GameStatsManager::createSecretChestRewards @ 0x10033df7c
// > GameManager::addGameAnimation @ 0x10034f434
// > GameManager::addGameAnimation @ 0x10034f450
// > GameManager::addGameAnimation @ 0x10034f4b4
// > GameManager::addGameAnimation @ 0x10034f524
// > GameManager::addGameAnimation @ 0x10034f564
// > SecretLayer4::init @ 0x100353f24
// > SecretLayer4::init @ 0x100353f64
// > SecretLayer4::init @ 0x100353fa4
// > SecretLayer4::init @ 0x100353fe4
// > SecretLayer4::init @ 0x100354024
// > SecretLayer4::init @ 0x100354064
// > SecretLayer4::init @ 0x1003540a4
// > LevelEditorLayer::getTriggerGroup @ 0x10036199c
// > ShardsPage::init @ 0x1003a2080
// > SecretLayer::init @ 0x1003bd1c4
// > SecretLayer::init @ 0x1003bd1f0
// > SecretLayer::init @ 0x1003bd230
// > SecretLayer::init @ 0x1003bd25c
// > SecretLayer::init @ 0x1003bd29c
// > SecretLayer::init @ 0x1003bd2c8
// > SecretLayer::init @ 0x1003bd308
// > SecretLayer::init @ 0x1003bd334
// > SecretLayer::init @ 0x1003bd374
// > SecretLayer::init @ 0x1003bd3a0
// > SecretLayer::init @ 0x1003bd3e0
// > SecretLayer::init @ 0x1003bd40c
// > SecretLayer::init @ 0x1003bd44c
// > SecretLayer::init @ 0x1003bd478
// > SecretLayer::init @ 0x1003bd4b8
// > SecretLayer::init @ 0x1003bd4f8
// > SecretLayer::init @ 0x1003bd538
// > SecretLayer::init @ 0x1003bd578
// > SecretLayer::init @ 0x1003bd5cc
// > EditorUI::onDelete @ 0x1003e6a04
// > EditorUI::selectObjects @ 0x1003ed8e0
// > EditorUI::addObjectsToSmartTemplate @ 0x1003f0b24
// > EditorUI::addObjectsToSmartTemplate @ 0x1003f112c
// > EditorUI::createSmartObjectsFromTemplate @ 0x1003f18a0
// > EditorUI::alignObjects @ 0x1003f79e8
// > cocos2d::CCDictionary::copyWithZone @ 0x100424338
//
// 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
//
void __fastcall cocos2d::CCDictionary::setObject(cocos2d::CCDictionary *a1, cocos2d::CCObject *a2, intptr_t a3)
{
cocos2d::CCDictElement *m_pElements; // x8
int v5; // w10
unsigned int v6; // w9
unsigned int v7; // w11
int v8; // w10
unsigned int v9; // w9
unsigned int v10; // w11
int v11; // w10
UT_hash_table *tbl; // x8
UT_hash_handle *hh_head; // x9
std::ptrdiff_t v14; // x8
__int64 v15; // x20
cocos2d::CCObject *v16; // x0
if ( a1->m_eDictType == kCCDictUnknown )
a1->m_eDictType = kCCDictInt;
m_pElements = a1->m_pElements;
if ( !m_pElements )
goto LABEL_9;
v5 = ((a3 & 0xFF000000) - (HIDWORD(a3) - 1640531527) + (a3 & 0xFFFF00) + (unsigned __int8)a3 - 1622558014) ^ 0x7F76D;
v6 = (HIDWORD(a3) - 1640531527 - v5 + 17973513) ^ (v5 << 8);
v7 = (-17973513 - v5 - v6) ^ (v6 >> 13);
v8 = (v5 - v6 - v7) ^ (v7 >> 12);
v9 = (v6 - v7 - v8) ^ (v8 << 16);
v10 = (v7 - v8 - v9) ^ (v9 >> 5);
v11 = (v8 - v9 - v10) ^ (v10 >> 3);
tbl = m_pElements->hh.tbl;
hh_head = tbl->buckets[((v10 - v11 - ((v9 - v10 - v11) ^ (v11 << 10)))
^ (((v9 - v10 - v11) ^ (v11 << 10)) >> 15))
& (tbl->num_buckets - 1)].hh_head;
if ( hh_head )
{
v14 = -tbl->hho;
while ( 1 )
{
v15 = (__int64)hh_head + v14;
if ( *(_DWORD *)((char *)&hh_head[5].key + v14) == 8 && **(_QWORD **)(v15 + 312) == a3 )
break;
hh_head = *(UT_hash_handle **)(v15 + 304);
if ( !hh_head )
goto LABEL_9;
}
v16 = *(cocos2d::CCObject **)(v15 + 264);
if ( v16 != a2 )
{
cocos2d::CCObject::release(v16);
*(_QWORD *)(v15 + 264) = a2;
cocos2d::CCObject::retain(a2);
}
}
else
{
LABEL_9:
cocos2d::CCDictionary::setObjectUnSafe(a1, a2, a3);
}
}