//
// cocos2d::CCDictionary::setObject from 0xd42f74 to 0xd43140 (460 bytes)
//
// 178 xrefs:
// > TextArea::fadeInCharacters @ 0x6b2aa4
// > PlayLayer::startMusic @ 0x710f10
// > LevelTools::sortChannelOrderObjects @ 0x72cb18
// > LevelTools::sortChannelOrderObjects @ 0x72cc04
// > LevelTools::createStarPackDict @ 0x72f7ec
// > PlayerObject::storeCollision @ 0x74ee78
// > LevelEditorLayer::getTriggerGroup @ 0x78cca0
// > EditorUI::createSmartObjectsFromTemplate @ 0x7cb80c
// > EditorUI::addObjectsToSmartTemplate @ 0x7cc3f4
// > EditorUI::addObjectsToSmartTemplate @ 0x7cc6f8
// > EditorUI::onDelete @ 0x7d18d8
// > GameLevelManager::getNextFreeTemplateID @ 0x801070
// > GameLevelManager::storeFriendRequest @ 0x802bf4
// > GameLevelManager::storeUserMessage @ 0x802c14
// > GameLevelManager::storeUserMessageReply @ 0x802c3c
// > GameLevelManager::getAllUsedSongIDs @ 0x805064
// > GameLevelManager::getAllUsedSongIDs @ 0x80507c
// > GameLevelManager::storeUserName @ 0x847d50
// > GameLevelManager::storeUserName @ 0x847d70
// > GameLevelManager::storeUserInfo @ 0x84a164
// > GameStatsManager::storeRewardState @ 0x8cf7d4
// > GameStatsManager::createSecretChestRewards @ 0x8d125c
// > GameStatsManager::createSecretChestRewards @ 0x8d24dc
// > GameStatsManager::createSecretChestRewards @ 0x8d3a1c
// > GameStatsManager::createSecretChestRewards @ 0x8d4594
// > GameStatsManager::createSecretChestRewards @ 0x8d4d54
// > GameStatsManager::createSecretChestRewards @ 0x8d5354
// > GameStatsManager::createSecretChestRewards @ 0x8d5df8
// > GameStatsManager::addStoreItem @ 0x8e0994
// > MoreOptionsLayer::addToggle @ 0x8f0904
// > MoreVideoOptionsLayer::addToggle @ 0x8f1440
// > ParentalOptionsLayer::addToggle @ 0x8f2680
// > ParentalOptionsLayer::addMasterToggle @ 0x8f64f0
// > MusicDownloadManager::storeMusicObject @ 0x95c878
// > MusicDownloadManager::storeSFXInfoObject @ 0x95cb18
// > MusicDownloadManager::getCustomSFXRoot @ 0x963e58
// > MusicDownloadManager::createCustomSFXPlacement @ 0x964084
// > MusicDownloadManager::createCustomSFXFolder @ 0x9642b8
// > MusicDownloadManager::createArtistsInfo @ 0x9647d8
// > MusicDownloadManager::parseMusicLibrary @ 0x976e64
// > GJBaseGameLayer::getGroup @ 0x9a065c
// > GJBaseGameLayer::getStaticGroup @ 0x9a09b8
// > GJBaseGameLayer::getOptimizedGroup @ 0x9a0a3c
// > GJBaseGameLayer::setGroupParent @ 0x9a350c
// > GJBaseGameLayer::setGroupParent @ 0x9a3528
// > GJBaseGameLayer::remapGroupParent @ 0x9a3974
// > GJBaseGameLayer::sortStickyGroups @ 0x9a3a90
// > GJBaseGameLayer::sortStickyGroups @ 0x9a3ad0
// > GJBaseGameLayer::groupStickyObjects @ 0x9a3c90
// > GJBaseGameLayer::assignNewStickyGroups @ 0x9a3de0
// > GJBaseGameLayer::updateObjectSection @ 0x9a4aec
// > GJBaseGameLayer::createNewKeyframeAnim @ 0x9a781c
// > GJBaseGameLayer::refreshKeyframeAnims @ 0x9a7ab8
// > GJBaseGameLayer::refreshKeyframeAnims @ 0x9a7ba8
// > GJBaseGameLayer::triggerGradientCommand @ 0x9ad77c
// > GJBaseGameLayer::removeFromGroupParents @ 0x9c4058
// > GJBaseGameLayer::generateTargetGroups @ 0x9cbcd4
// > GJBaseGameLayer::generateTargetGroups @ 0x9cbd04
// > GJBaseGameLayer::generateTargetGroups @ 0x9cc1ec
// > GJBaseGameLayer::generateTargetGroups @ 0x9cc20c
// > GJBaseGameLayer::generateTargetGroups @ 0x9cc278
// > GJBaseGameLayer::generateTargetGroups @ 0x9cc294
// > GJBaseGameLayer::restoreAllUIObjects @ 0x9cd100
// > GJBaseGameLayer::parentForZLayer @ 0x9f60e8
// > GJEffectManager::colorActionChanged @ 0x9f9de0
// > GJEffectManager::getColorSprite @ 0xa196d8
// > GJEffectManager::setColorAction @ 0xa19cf0
// > GJEffectManager::processInheritedColors @ 0xa1b738
// > GJEffectManager::processInheritedColors @ 0xa1b7c4
// > GJOptionsLayer::addGVToggle @ 0xa352f0
// > ConfigureHSVWidget::createTextInputNode @ 0xa3ac1c
// > SecretLayer::init @ 0xa61688
// > SecretLayer::init @ 0xa616c0
// > SecretLayer::init @ 0xa616f8
// > SecretLayer::init @ 0xa61730
// > SecretLayer::init @ 0xa61768
// > SecretLayer::init @ 0xa617a0
// > SecretLayer::init @ 0xa617d8
// > SecretLayer::init @ 0xa61dc8
// > SecretLayer::init @ 0xa61dec
// > SecretLayer::init @ 0xa61e10
// > SecretLayer::init @ 0xa61e34
// > SecretLayer::init @ 0xa61e58
// > SecretLayer::init @ 0xa61e7c
// > SecretLayer::init @ 0xa61ea0
// > SecretLayer::init @ 0xa61ec4
// > SecretLayer::init @ 0xa61ee8
// > SecretLayer::init @ 0xa61f0c
// > SecretLayer::init @ 0xa61f30
// > SecretLayer::init @ 0xa61f54
// > ChallengesPage::createChallengeNode @ 0xa6385c
// > GauntletSelectLayer::setupGauntlets @ 0xa7659c
// > GJShopLayer::init @ 0xa7fbdc
// > SecretLayer2::init @ 0xa90e40
// > SecretLayer2::init @ 0xa90e64
// > SecretLayer2::init @ 0xa90e88
// > SecretLayer2::init @ 0xa90eac
// > SecretLayer2::init @ 0xa90ed0
// > SecretLayer2::init @ 0xa90ef4
// > SecretLayer2::init @ 0xa90f30
// > SecretLayer2::init @ 0xa90f54
// > SecretLayer4::init @ 0xa97754
// > SecretLayer4::init @ 0xa9778c
// > SecretLayer4::init @ 0xa977c4
// > SecretLayer4::init @ 0xa977fc
// > SecretLayer4::init @ 0xa9787c
// > SecretLayer4::init @ 0xa978a0
// > SecretLayer4::init @ 0xa978c4
// > ShardsPage::init @ 0xaa542c
// > CommunityCreditsPage::init @ 0xab7724
// > CommunityCreditsPage::init @ 0xab7c64
// > SetGroupIDLayer::updateGroupIDButtons @ 0xaba6ec
// > SetGroupIDLayer::updateGroupIDButtons @ 0xaba7b8
// > SetGroupIDLayer::updateGroupIDButtons @ 0xaba97c
// > SetGroupIDLayer::updateGroupIDButtons @ 0xabab10
// > SetGroupIDLayer::updateGroupIDButtons @ 0xabab44
// > SetGroupIDLayer::updateGroupIDButtons @ 0xabab58
// > GJMultiplayerManager::addComment @ 0xac59e4
// > GJMultiplayerManager::onJoinLobbyCompleted @ 0xac5ee8
// > GJMultiplayerManager::onJoinLobbyCompleted @ 0xac5f44
// > GameManager::addGameAnimation @ 0xaf3648
// > GameManager::addGameAnimation @ 0xaf3694
// > GameManager::addGameAnimation @ 0xaf36e8
// > GameManager::addGameAnimation @ 0xaf3758
// > GameManager::addGameAnimation @ 0xaf37c0
// > GameManager::addDuplicateLastFrame @ 0xaf3c74
// > CreateParticlePopup::createParticleSlider @ 0xb003b8
// > CreateParticlePopup::createParticleSlider @ 0xb003c8
// > CreateParticlePopup::createParticleSlider @ 0xb004c0
// > CreateParticlePopup::createParticleSlider @ 0xb004d0
// > SetupTriggerPopup::updateToggleItem @ 0xb1a820
// > SetupTriggerPopup::updateValueControls @ 0xb1c3ac
// > SetupTriggerPopup::updateDefaultTriggerValues @ 0xb1da04
// > SetupTriggerPopup::updateDefaultTriggerValues @ 0xb1da44
// > SetupTriggerPopup::registerIDNameInput @ 0xb1dc2c
// > SetupTriggerPopup::setMinSliderValue @ 0xb1dca0
// > SetupTriggerPopup::setMaxSliderValue @ 0xb1dd50
// > SetupTriggerPopup::toggleCustomEaseRateVisibility @ 0xb1e334
// > SetupTriggerPopup::createToggleValueControlAdvanced @ 0xb1f2b4
// > SetupTriggerPopup::createCustomToggleValueControl @ 0xb1f688
// > SetupTriggerPopup::createValueControlAdvanced @ 0xb1faa8
// > SetupTriggerPopup::createValueControlAdvanced @ 0xb1fd74
// > SetupTriggerPopup::createValueControlAdvanced @ 0xb1ff38
// > SetupTriggerPopup::createValueControlAdvanced @ 0xb202e4
// > SetupTriggerPopup::createCustomEasingControls @ 0xb221a8
// > SetupTriggerPopup::createCustomEasingControls @ 0xb221f0
// > SetupTriggerPopup::createCustomEasingControls @ 0xb22230
// > SetupTriggerPopup::createCustomEasingControls @ 0xb22388
// > SetupTriggerPopup::createCustomEasingControls @ 0xb224d0
// > SetupTriggerPopup::createCustomEasingControls @ 0xb225f4
// > SetupTriggerPopup::textChanged @ 0xb2485c
// > SetupTriggerPopup::triggerSliderChanged @ 0xb24978
// > SetupTeleportPopup::onTeleportGravity @ 0xb27d58
// > SetupAreaMoveTriggerPopup::onSpecialTarget @ 0xb433a4
// > CharacterColorPage::createColorMenu @ 0xb52124
// > GJActionManager::runInternalAction @ 0xb53064
// > SetupKeyframePopup::onTimeMode @ 0xb693e8
// > SecretRewardsLayer::init @ 0xba06dc
// > EditorUI::selectObjects @ 0xbdce60
// > EditorUI::createViewButton @ 0xbfef34
// > EditorUI::alignObjectsOnAxis @ 0xc02ba0
// > EditorUI::alignObjects @ 0xc03090
// > MoveStepPopup::textChanged @ 0xc60c50
// > MoveStepPopup::onReset @ 0xc6112c
// > FindObjectPopup::onBuildWindowContent @ 0xcbd454
// > IDNameInput::initCore @ 0xce52e0
// > cocos2d::extension::CCControl::dispatchListforControlEvent @ 0xd0b65c
// > cocos2d::extension::CCControlButton::setTitleLabelForState @ 0xd0c87c
// > cocos2d::extension::CCControlButton::setBackgroundSpriteForState @ 0xd0cbd0
// > cocos2d::extension::CCControlButton::setTitleForState @ 0xd0cf1c
// > cocos2d::extension::CCControlButton::setTitleColorForState @ 0xd0cfd8
// > cocos2d::CCDictionary::copyWithZone @ 0xd44180
// > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0xd7b338
// > cocos2d::CCTMXMapInfo::startElement @ 0xdaf61c
// > cocos2d::CCTouchDispatcher::registerForcePrio @ 0xdb1434
// > cocos2d::CCTouchDispatcher::registerForcePrio @ 0xdb14c0
// > cocos2d::CCTouchDispatcher::ownerLevelOf @ 0xdb169c
// > ??> @ 0x86f98
//
// 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:32 +0000
//
cocos2d::CCObject *__fastcall cocos2d::CCDictionary::setObject(
cocos2d::CCDictionary *this,
cocos2d::CCObject *a2,
__int64 a3)
{
__int64 v5; // x7
int v6; // w3
int v7; // w0
unsigned int v8; // w2
unsigned int v9; // w1
__int64 v10; // x22
int v11; // w0
unsigned int v12; // w2
unsigned int v13; // w1
int v14; // w0
__int64 v15; // x0
__int64 v16; // x19
__int64 v17; // x0
cocos2d::CCObject *result; // x0
__int64 v19; // [xsp+48h] [xbp+48h] BYREF
v19 = a3;
if ( !*((_DWORD *)this + 16) )
*((_DWORD *)this + 16) = 2;
v5 = *((_QWORD *)this + 7);
if ( !v5 )
return (cocos2d::CCObject *)cocos2d::CCDictionary::setObjectUnSafe(this, a2, v19);
v6 = BYTE4(v19) - 1640531527 + (HIBYTE(v19) << 24) + (BYTE6(v19) << 16) + (BYTE5(v19) << 8);
v7 = ((unsigned __int8)v19 - 1622558014 + (BYTE3(v19) << 24) + (BYTE2(v19) << 16) + (BYTE1(v19) << 8) - v6) ^ 0x7F76D;
v8 = (v6 + 17973513 - v7) ^ (v7 << 8);
v9 = (-17973513 - v7 - v8) ^ (v8 >> 13);
v10 = *(_QWORD *)(v5 + 272);
v11 = (v7 - v8 - v9) ^ (v9 >> 12);
v12 = (v8 - v9 - v11) ^ (v11 << 16);
v13 = (v9 - v11 - v12) ^ (v12 >> 5);
v14 = (v11 - v12 - v13) ^ (v13 >> 3);
v15 = *(_QWORD *)(*(_QWORD *)v10
+ 16LL
* (((v13 - v14 - ((v12 - v13 - v14) ^ (v14 << 10)))
^ (((v12 - v13 - v14) ^ (v14 << 10)) >> 15))
& (*(_DWORD *)(v10 + 8) - 1)));
v16 = v15 ? v15 - *(_QWORD *)(v10 + 32) : 0LL;
if ( !v16 )
return (cocos2d::CCObject *)cocos2d::CCDictionary::setObjectUnSafe(this, a2, v19);
while ( *(_DWORD *)(v16 + 320) != 8 || memcmp(*(const void **)(v16 + 312), &v19, 8u) )
{
v17 = *(_QWORD *)(v16 + 304);
if ( v17 )
{
v16 = v17 - *(_QWORD *)(v10 + 32);
if ( v16 )
continue;
}
return (cocos2d::CCObject *)cocos2d::CCDictionary::setObjectUnSafe(this, a2, v19);
}
result = *(cocos2d::CCObject **)(v16 + 264);
if ( result != a2 )
{
cocos2d::CCObject::release(result);
*(_QWORD *)(v16 + 264) = a2;
return (cocos2d::CCObject *)cocos2d::CCObject::retain(a2);
}
return result;
}