//
// cocos2d::CCDictionary::setObject from 0x7c742c to 0x7c7510 (228 bytes)
//
// 175 xrefs:
// > TextArea::fadeInCharacters @ 0x3d9aee
// > PlayLayer::startMusic @ 0x41217c
// > LevelTools::sortChannelOrderObjects @ 0x41f6d0
// > LevelTools::sortChannelOrderObjects @ 0x41f6fe
// > LevelTools::createStarPackDict @ 0x42162c
// > PlayerObject::storeCollision @ 0x435404
// > LevelEditorLayer::getTriggerGroup @ 0x461f34
// > EditorUI::createSmartObjectsFromTemplate @ 0x487df2
// > EditorUI::addObjectsToSmartTemplate @ 0x4883a8
// > EditorUI::addObjectsToSmartTemplate @ 0x4887ec
// > EditorUI::onDelete @ 0x48c70e
// > GameLevelManager::getNextFreeTemplateID @ 0x4aa87a
// > GameLevelManager::storeFriendRequest @ 0x4aad16
// > GameLevelManager::storeUserMessage @ 0x4aad2e
// > GameLevelManager::storeUserMessageReply @ 0x4aad48
// > GameLevelManager::getAllUsedSongIDs @ 0x4ab308
// > GameLevelManager::getAllUsedSongIDs @ 0x4ab324
// > GameLevelManager::storeUserName @ 0x4d12ec
// > GameLevelManager::storeUserName @ 0x4d1302
// > GameLevelManager::storeUserInfo @ 0x4d247a
// > GameStatsManager::storeRewardState @ 0x519894
// > GameStatsManager::createSecretChestRewards @ 0x51a8f8
// > GameStatsManager::createSecretChestRewards @ 0x51b468
// > GameStatsManager::createSecretChestRewards @ 0x51c2ec
// > GameStatsManager::createSecretChestRewards @ 0x51ca92
// > GameStatsManager::createSecretChestRewards @ 0x51cfbe
// > GameStatsManager::createSecretChestRewards @ 0x51d3d2
// > GameStatsManager::createSecretChestRewards @ 0x51db0a
// > GameStatsManager::addStoreItem @ 0x524a1e
// > MoreOptionsLayer::addToggle @ 0x52e056
// > MoreVideoOptionsLayer::addToggle @ 0x52e94e
// > ParentalOptionsLayer::addToggle @ 0x52f590
// > ParentalOptionsLayer::addMasterToggle @ 0x531e1a
// > MusicDownloadManager::storeMusicObject @ 0x56be72
// > MusicDownloadManager::storeSFXInfoObject @ 0x56bf0a
// > MusicDownloadManager::getCustomSFXRoot @ 0x56e2bc
// > MusicDownloadManager::createCustomSFXPlacement @ 0x56e44a
// > MusicDownloadManager::createCustomSFXFolder @ 0x56e540
// > MusicDownloadManager::createArtistsInfo @ 0x56e796
// > MusicDownloadManager::parseMusicLibrary @ 0x5789ec
// > GJBaseGameLayer::getGroup @ 0x590806
// > GJBaseGameLayer::getStaticGroup @ 0x590a0a
// > GJBaseGameLayer::getOptimizedGroup @ 0x590a44
// > GJBaseGameLayer::setGroupParent @ 0x59284a
// > GJBaseGameLayer::setGroupParent @ 0x592880
// > GJBaseGameLayer::remapGroupParent @ 0x592ac4
// > GJBaseGameLayer::sortStickyGroups @ 0x592b28
// > GJBaseGameLayer::sortStickyGroups @ 0x592b58
// > GJBaseGameLayer::groupStickyObjects @ 0x592c84
// > GJBaseGameLayer::assignNewStickyGroups @ 0x592cf0
// > GJBaseGameLayer::updateObjectSection @ 0x59372c
// > GJBaseGameLayer::createNewKeyframeAnim @ 0x595468
// > GJBaseGameLayer::refreshKeyframeAnims @ 0x59561a
// > GJBaseGameLayer::refreshKeyframeAnims @ 0x595670
// > GJBaseGameLayer::parentForZLayer @ 0x59ad9e
// > GJBaseGameLayer::triggerGradientCommand @ 0x59b482
// > GJBaseGameLayer::removeFromGroupParents @ 0x5a5e1c
// > GJBaseGameLayer::generateTargetGroups @ 0x5aa878
// > GJBaseGameLayer::generateTargetGroups @ 0x5aa88c
// > GJBaseGameLayer::generateTargetGroups @ 0x5aa980
// > GJBaseGameLayer::generateTargetGroups @ 0x5aa99c
// > GJBaseGameLayer::generateTargetGroups @ 0x5aaa3c
// > GJBaseGameLayer::generateTargetGroups @ 0x5aaa5c
// > GJBaseGameLayer::restoreAllUIObjects @ 0x5ab260
// > GJEffectManager::getColorSprite @ 0x5c3118
// > GJEffectManager::setColorAction @ 0x5c31de
// > GJEffectManager::colorActionChanged @ 0x5c32f8
// > GJEffectManager::processInheritedColors @ 0x5c3e16
// > GJEffectManager::processInheritedColors @ 0x5c3e3e
// > GJOptionsLayer::addGVToggle @ 0x5e18fa
// > ConfigureHSVWidget::createTextInputNode @ 0x5e51b0
// > SecretLayer::init @ 0x5feb46
// > SecretLayer::init @ 0x5feb5c
// > SecretLayer::init @ 0x5feb82
// > SecretLayer::init @ 0x5feb98
// > SecretLayer::init @ 0x5febbe
// > SecretLayer::init @ 0x5febd4
// > SecretLayer::init @ 0x5febfa
// > SecretLayer::init @ 0x5fec10
// > SecretLayer::init @ 0x5fec36
// > SecretLayer::init @ 0x5fec4c
// > SecretLayer::init @ 0x5fec72
// > SecretLayer::init @ 0x5fec88
// > SecretLayer::init @ 0x5fecae
// > SecretLayer::init @ 0x5fecc4
// > SecretLayer::init @ 0x5fecea
// > SecretLayer::init @ 0x5fed10
// > SecretLayer::init @ 0x5fed36
// > SecretLayer::init @ 0x5fed5c
// > SecretLayer::init @ 0x5ff1f0
// > ChallengesPage::createChallengeNode @ 0x6001d6
// > GauntletSelectLayer::setupGauntlets @ 0x60cc34
// > GJShopLayer::init @ 0x6136f2
// > SecretLayer2::init @ 0x61f39a
// > SecretLayer2::init @ 0x61f3d0
// > SecretLayer2::init @ 0x61f3f6
// > SecretLayer2::init @ 0x61f41c
// > SecretLayer2::init @ 0x61f442
// > SecretLayer2::init @ 0x61f468
// > SecretLayer2::init @ 0x61f48e
// > SecretLayer2::init @ 0x61f4b4
// > SecretLayer4::init @ 0x622c56
// > SecretLayer4::init @ 0x622c7c
// > SecretLayer4::init @ 0x622ca2
// > SecretLayer4::init @ 0x622cc8
// > SecretLayer4::init @ 0x622cee
// > SecretLayer4::init @ 0x622d12
// > SecretLayer4::init @ 0x622d36
// > ShardsPage::init @ 0x62b9c6
// > CommunityCreditsPage::init @ 0x6388fe
// > CommunityCreditsPage::init @ 0x638aa8
// > SetGroupIDLayer::updateGroupIDButtons @ 0x63a2d6
// > SetGroupIDLayer::updateGroupIDButtons @ 0x63a31c
// > SetGroupIDLayer::updateGroupIDButtons @ 0x63a366
// > SetGroupIDLayer::updateGroupIDButtons @ 0x63a5de
// > GJMultiplayerManager::addComment @ 0x64189a
// > GJMultiplayerManager::onJoinLobbyCompleted @ 0x641c20
// > GJMultiplayerManager::onJoinLobbyCompleted @ 0x641c46
// > GameManager::addGameAnimation @ 0x65e7a2
// > GameManager::addGameAnimation @ 0x65e7b6
// > GameManager::addGameAnimation @ 0x65e80a
// > GameManager::addGameAnimation @ 0x65e852
// > GameManager::addGameAnimation @ 0x65e872
// > GameManager::addDuplicateLastFrame @ 0x65eae6
// > CreateParticlePopup::createParticleSlider @ 0x666f62
// > CreateParticlePopup::createParticleSlider @ 0x666f6c
// > CreateParticlePopup::createParticleSlider @ 0x667014
// > CreateParticlePopup::createParticleSlider @ 0x66701e
// > SetupTriggerPopup::updateToggleItem @ 0x6762e2
// > SetupTriggerPopup::updateValueControls @ 0x677444
// > SetupTriggerPopup::updateDefaultTriggerValues @ 0x679346
// > SetupTriggerPopup::updateDefaultTriggerValues @ 0x679388
// > SetupTriggerPopup::registerIDNameInput @ 0x679448
// > SetupTriggerPopup::setMinSliderValue @ 0x679468
// > SetupTriggerPopup::setMaxSliderValue @ 0x679498
// > SetupTriggerPopup::toggleCustomEaseRateVisibility @ 0x679778
// > SetupTriggerPopup::createToggleValueControlAdvanced @ 0x67a0fc
// > SetupTriggerPopup::createCustomToggleValueControl @ 0x67a310
// > SetupTriggerPopup::createValueControlAdvanced @ 0x67a5ec
// > SetupTriggerPopup::createValueControlAdvanced @ 0x67a844
// > SetupTriggerPopup::createValueControlAdvanced @ 0x67a97c
// > SetupTriggerPopup::createValueControlAdvanced @ 0x67ab66
// > SetupTriggerPopup::createCustomEasingControls @ 0x67bf00
// > SetupTriggerPopup::createCustomEasingControls @ 0x67bf14
// > SetupTriggerPopup::createCustomEasingControls @ 0x67bf2a
// > SetupTriggerPopup::createCustomEasingControls @ 0x67c016
// > SetupTriggerPopup::createCustomEasingControls @ 0x67c10c
// > SetupTriggerPopup::createCustomEasingControls @ 0x67c1d8
// > SetupTriggerPopup::textChanged @ 0x67e612
// > SetupTriggerPopup::triggerSliderChanged @ 0x67e6a2
// > SetupTeleportPopup::onTeleportGravity @ 0x6807b2
// > SetupAreaMoveTriggerPopup::onSpecialTarget @ 0x693738
// > CharacterColorPage::createColorMenu @ 0x69d494
// > GJActionManager::runInternalAction @ 0x69dfb4
// > SetupKeyframePopup::onTimeMode @ 0x6adb04
// > SecretRewardsLayer::init @ 0x6ceae8
// > EditorUI::selectObjects @ 0x6f47b2
// > EditorUI::createViewButton @ 0x70c832
// > EditorUI::alignObjectsOnAxis @ 0x70f0e4
// > EditorUI::alignObjects @ 0x70f3e2
// > MoveStepPopup::textChanged @ 0x744cbe
// > MoveStepPopup::onReset @ 0x744d30
// > FindObjectPopup::onBuildWindowContent @ 0x77b6ae
// > IDNameInput::initCore @ 0x7941b2
// > cocos2d::extension::CCControl::dispatchListforControlEvent @ 0x7a6846
// > cocos2d::extension::CCControlButton::setTitleLabelForState @ 0x7a7196
// > cocos2d::extension::CCControlButton::setBackgroundSpriteForState @ 0x7a73ec
// > cocos2d::extension::CCControlButton::setTitleForState @ 0x7a75a4
// > cocos2d::extension::CCControlButton::setTitleColorForState @ 0x7a79e0
// > cocos2d::CCDictionary::copyWithZone @ 0x7c7d8a
// > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x7ea824
// > cocos2d::CCTMXMapInfo::startElement @ 0x8065da
// > cocos2d::CCTouchDispatcher::registerForcePrio @ 0x807d10
// > cocos2d::CCTouchDispatcher::registerForcePrio @ 0x807d3a
// > cocos2d::CCTouchDispatcher::ownerLevelOf @ 0x807e1a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:26 +0000
//
void __fastcall cocos2d::CCDictionary::setObject(cocos2d::CCDictionary *this, cocos2d::CCObject *a2, int a3)
{
int v4; // r3
int v6; // r1
_DWORD *v7; // r7
int v8; // r0
unsigned int v9; // r2
unsigned int v10; // r3
int v11; // r0
unsigned int v12; // r2
unsigned int v13; // r3
int v14; // r0
int v15; // r6
int v16; // r3
cocos2d::CCObject *v17; // r0
int v18; // [sp+4h] [bp-4h] BYREF
v18 = (int)a2;
v4 = *((_DWORD *)this + 14);
v18 = a3;
if ( !v4 )
*((_DWORD *)this + 14) = 2;
v6 = *((_DWORD *)this + 13);
if ( v6 )
{
v7 = *(_DWORD **)(v6 + 264);
v8 = ((unsigned __int8)v18 + 17973517 + (HIBYTE(v18) << 24) + (BYTE2(v18) << 16) + (BYTE1(v18) << 8)) ^ 0x7F76D;
v9 = (-1622558010 - v8) ^ (v8 << 8);
v10 = (-17973517 - v8 - v9) ^ (v9 >> 13);
v11 = (v8 - v9 - v10) ^ (v10 >> 12);
v12 = (v9 - v10 - v11) ^ (v11 << 16);
v13 = (v10 - v11 - v12) ^ (v12 >> 5);
v14 = (v11 - v12 - v13) ^ (v13 >> 3);
v15 = *(_DWORD *)(*v7
+ 12
* (((v13 - v14 - ((v12 - v13 - v14) ^ (v14 << 10)))
^ (((v12 - v13 - v14) ^ (v14 << 10)) >> 15))
& (v7[1] - 1)));
if ( v15 )
v15 -= v7[5];
while ( v15 )
{
if ( *(_DWORD *)(v15 + 288) == 4 && !memcmp(*(const void **)(v15 + 284), &v18, 4u) )
{
v17 = *(cocos2d::CCObject **)(v15 + 260);
if ( v17 != a2 )
{
cocos2d::CCObject::release(v17);
*(_DWORD *)(v15 + 260) = a2;
cocos2d::CCObject::retain(a2);
}
return;
}
v16 = *(_DWORD *)(v15 + 280);
if ( !v16 )
break;
v15 = v16 - v7[5];
}
}
cocos2d::CCDictionary::setObjectUnSafe(this, a2, v18);
}