//
// cocos2d::CCDictionary::removeObjectForKey_1 from 0x1002fa400 to 0x1002fa53a (314 bytes)
//
// 29 xrefs:
// > sub_10011A840 @ 0x10011a8a0
// > GJBaseGameLayer::remapGroupParent @ 0x10011ae5e
// > GJBaseGameLayer::removeFromGroupParents @ 0x10011b1fa
// > GJBaseGameLayer::removeFromGroupParents @ 0x10011b34d
// > GJBaseGameLayer::addToGroupParents @ 0x10011b863
// > GJBaseGameLayer::ungroupStickyObjects @ 0x10011c3d0
// > sub_100223580 @ 0x1002235a3
// > SetupTriggerPopup::toggleCustomEaseRateVisibility @ 0x1002254ae
// > GJEffectManager::removeColorAction @ 0x1002ca07b
// > GJEffectManager::removeColorAction @ 0x1002ca09d
// > GJEffectManager::colorActionChanged @ 0x1002ca0ff
// > GJEffectManager::loadFromState @ 0x1002d9b93
// > cocos2d::extension::CCControlButton::setTitleForState @ 0x10033f971
// > cocos2d::extension::CCControlButton::setTitleColorForState @ 0x10033fa44
// > cocos2d::extension::CCControlButton::setTitleLabelForState @ 0x10033fb6d
// > cocos2d::extension::CCControlButton::setBackgroundSpriteForState @ 0x10033ffa2
// > ChallengesPage::exitNodeAtSlot @ 0x100387d92
// > cocos2d::CCTouchDispatcher::unregisterForcePrio @ 0x1004c74b1
// > cocos2d::CCTouchDispatcher::unregisterForcePrio @ 0x1004c74c0
// > cocos2d::CCTouchDispatcher::unregisterForcePrio @ 0x1004c74d3
// > sub_1004C74E0 @ 0x1004c7599
// > cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel @ 0x10051158d
// > sub_1005291D0 @ 0x100529334
// > GameLevelManager::resetStoredUserInfo @ 0x100567d4f
// > sub_1006546E0 @ 0x100654a45
// > GJActionManager::stopInternalAction @ 0x1006e1078
// > GJActionManager::stopAllInternalActions @ 0x1006e110b
// > GJActionManager::updateInternalActions @ 0x1006e11bf
// > GJActionManager::updateInternalActions @ 0x1006e1220
//
// This function is hookable on this platform (idp: pc, 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 12:28:30 +0000
//
void __fastcall cocos2d::CCDictionary::removeObjectForKey_1(__int64 a1, __int64 a2)
{
__int64 v2; // rax
int v3; // r8d
unsigned int v4; // edx
unsigned int v5; // ecx
int v6; // esi
unsigned int v7; // r8d
unsigned int v8; // edx
int v9; // ecx
__int64 v10; // rax
__int64 v11; // rcx
__int64 v12; // rdx
__int64 v13; // rsi
if ( *(_DWORD *)(a1 + 64) )
{
v2 = *(_QWORD *)(a1 + 56);
if ( !v2 )
goto LABEL_9;
v3 = ((unsigned __int8)a2 + (a2 & 0xFFFF00) + (a2 & 0xFF000000) - (HIDWORD(a2) - 1640531527) - 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 - (((v7 - v8 - v9) ^ (v9 << 10)) + v9))
^ (((v7 - v8 - v9) ^ (v9 << 10)) >> 15))
& (*(_DWORD *)(v10 + 8) - 1)));
if ( v11 )
{
v12 = *(_QWORD *)(v10 + 32);
while ( 1 )
{
v13 = v11 - v12;
if ( *(_DWORD *)(v11 - v12 + 320) == 8 && **(_QWORD **)(v13 + 312) == a2 )
break;
v11 = *(_QWORD *)(v13 + 304);
if ( !v11 )
goto LABEL_9;
}
}
else
{
LABEL_9:
v13 = 0;
}
cocos2d::CCDictionary::removeObjectForElememt(a1, v13);
}
}