//
// cocos2d::CCDictionary::removeObjectForKey from 0xd432d8 to 0xd43474 (412 bytes)
//
// 27 xrefs:
// > GameLevelManager::resetStoredUserInfo @ 0x802bcc
// > GameLevelManager::onUnblockUserCompleted @ 0x80eb0c
// > MusicDownloadManager::deleteCustomSFXObject @ 0x960ef0
// > GJBaseGameLayer::removeGroupParent @ 0x9a3700
// > GJBaseGameLayer::remapGroupParent @ 0x9a3958
// > GJBaseGameLayer::ungroupStickyObjects @ 0x9a3b90
// > GJBaseGameLayer::addToGroupParents @ 0x9bebd0
// > GJBaseGameLayer::removeFromGroupParents @ 0x9c3e2c
// > GJBaseGameLayer::removeFromGroupParents @ 0x9c4064
// > GJEffectManager::removeColorAction @ 0x9f9d70
// > GJEffectManager::removeColorAction @ 0x9f9d90
// > GJEffectManager::colorActionChanged @ 0x9f9de8
// > ChallengesPage::exitNodeAtSlot @ 0xa626f0
// > SetupTriggerPopup::registerIDNameInput @ 0xb1dc34
// > SetupTriggerPopup::toggleCustomEaseRateVisibility @ 0xb1e2f4
// > GJActionManager::stopInternalAction @ 0xb530d4
// > GJActionManager::updateInternalActions @ 0xb531bc
// > cocos2d::extension::CCControlButton::setTitleLabelForState @ 0xd0c868
// > cocos2d::extension::CCControlButton::setBackgroundSpriteForState @ 0xd0cbbc
// > cocos2d::extension::CCControlButton::setTitleForState @ 0xd0cf08
// > cocos2d::extension::CCControlButton::setTitleColorForState @ 0xd0cf88
// > cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel @ 0xd7aef4
// > cocos2d::CCTouchDispatcher::unregisterForcePrio @ 0xdb150c
// > cocos2d::CCTouchDispatcher::unregisterForcePrio @ 0xdb1518
// > cocos2d::CCTouchDispatcher::unregisterForcePrio @ 0xdb152c
// > cocos2d::CCTouchDispatcher::ownerLevelOf @ 0xdb1618
// > ??> @ 0xf5b60
//
// 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
//
void __fastcall cocos2d::CCDictionary::removeObjectForKey(cocos2d::CCDictionary *this, __int64 a2)
{
__int64 v2; // x7
int v4; // w2
int v5; // w19
unsigned int v6; // w1
unsigned int v7; // w0
__int64 v8; // x21
int v9; // w19
unsigned int v10; // w1
unsigned int v11; // w0
int v12; // w19
__int64 v13; // x19
__int64 v14; // x19
__int64 v15; // [xsp+38h] [xbp+38h] BYREF
v15 = a2;
if ( *((_DWORD *)this + 16) )
{
v2 = *((_QWORD *)this + 7);
if ( v2 )
{
v4 = BYTE4(v15) - 1640531527 + (HIBYTE(v15) << 24) + (BYTE6(v15) << 16) + (BYTE5(v15) << 8);
v5 = ((unsigned __int8)v15 - 1622558014 + (BYTE3(v15) << 24) + (BYTE2(v15) << 16) + (BYTE1(v15) << 8) - v4)
^ 0x7F76D;
v6 = (v4 + 17973513 - v5) ^ (v5 << 8);
v7 = (-17973513 - v5 - v6) ^ (v6 >> 13);
v8 = *(_QWORD *)(v2 + 272);
v9 = (v5 - v6 - v7) ^ (v7 >> 12);
v10 = (v6 - v7 - v9) ^ (v9 << 16);
v11 = (v7 - v9 - v10) ^ (v10 >> 5);
v12 = (v9 - v10 - v11) ^ (v11 >> 3);
v13 = *(_QWORD *)(*(_QWORD *)v8
+ 16LL
* (((v11 - v12 - ((v10 - v11 - v12) ^ (v12 << 10)))
^ (((v10 - v11 - v12) ^ (v12 << 10)) >> 15))
& (*(_DWORD *)(v8 + 8) - 1)));
if ( v13 )
v14 = v13 - *(_QWORD *)(v8 + 32);
else
v14 = 0;
for ( ; v14; v14 -= *(_QWORD *)(v8 + 32) )
{
if ( *(_DWORD *)(v14 + 320) == 8 && !memcmp(*(const void **)(v14 + 312), &v15, 8u) )
break;
v14 = *(_QWORD *)(v14 + 304);
if ( !v14 )
break;
}
}
else
{
v14 = 0;
}
cocos2d::CCDictionary::removeObjectForElememt(this, (cocos2d::CCDictElement *)v14);
}
}