// // cocos2d::CCDictionary::removeObjectForKey from 0x1004240ec to 0x100424220 (308 bytes) // // 16 xrefs: // > GJEffectManager::removeColorAction @ 0x10000fb98 // > GJEffectManager::removeColorAction @ 0x10000fbb4 // > GJEffectManager::colorActionChanged @ 0x10000fbf8 // > ChallengesPage::exitNodeAtSlot @ 0x10003292c // > GameLevelManager::onUnblockUserCompleted @ 0x10008d694 // > GameLevelManager::resetStoredUserInfo @ 0x1000a49c8 // > SetupTriggerPopup::toggleCustomEaseRateVisibility @ 0x100134f54 // > cocos2d::CCTouchDispatcher::unregisterForcePrio @ 0x10014ed38 // > GJBaseGameLayer::removeGroupParent @ 0x1001f2790 // > GJBaseGameLayer::removeFromGroupParents @ 0x1001f29a4 // > GJBaseGameLayer::removeFromGroupParents @ 0x1001f29e0 // > GJBaseGameLayer::addToGroupParents @ 0x1001f2a9c // > GJBaseGameLayer::ungroupStickyObjects @ 0x1001f2ed0 // > cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel @ 0x1002e7228 // > GJActionManager::stopInternalAction @ 0x1002fe444 // > GJActionManager::updateInternalActions @ 0x1002fe504 // // 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::removeObjectForKey(cocos2d::CCDictionary *a1, intptr_t a2) { cocos2d::CCDictElement *m_pElements; // x8 int v3; // w10 unsigned int v4; // w9 unsigned int v5; // w11 int v6; // w10 unsigned int v7; // w9 unsigned int v8; // w11 int v9; // w10 UT_hash_table *tbl; // x8 UT_hash_handle *hh_head; // x9 std::ptrdiff_t v12; // x8 __int64 v13; // x1 if ( a1->m_eDictType ) { m_pElements = a1->m_pElements; if ( !m_pElements ) goto LABEL_8; v3 = ((a2 & 0xFF000000) - (HIDWORD(a2) - 1640531527) + (a2 & 0xFFFF00) + (unsigned __int8)a2 - 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); tbl = m_pElements->hh.tbl; hh_head = tbl->buckets[((v8 - v9 - ((v7 - v8 - v9) ^ (v9 << 10))) ^ (((v7 - v8 - v9) ^ (v9 << 10)) >> 15)) & (tbl->num_buckets - 1)].hh_head; if ( hh_head ) { v12 = -tbl->hho; while ( 1 ) { v13 = (__int64)hh_head + v12; if ( *(_DWORD *)((char *)&hh_head[5].key + v12) == 8 && **(_QWORD **)(v13 + 312) == a2 ) break; hh_head = *(UT_hash_handle **)(v13 + 304); if ( !hh_head ) goto LABEL_8; } } else { LABEL_8: v13 = 0; } cocos2d::CCDictionary::removeObjectForElememt(a1, (cocos2d::CCDictElement *)v13); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source