// // cocos2d::CCDictionary::removeAllObjects from 0x10030da70 to 0x10030dbe7 (375 bytes) // // 52 xrefs: // > GameStatsManager::resetUserCoins @ 0x10006f21e // > GameStatsManager::resetUserCoins @ 0x10006f230 // > GJBaseGameLayer::refreshKeyframeAnims @ 0x10011d938 // > GJBaseGameLayer::clearPickedUpItems @ 0x1001297cc // > GJBaseGameLayer::preUpdateVisibility @ 0x100150e79 // > GJBaseGameLayer::resetLevelVariables @ 0x10015994d // > GJBaseGameLayer::orderSpawnObjects @ 0x100162438 // > CCContentManager::clearCache @ 0x100184739 // > GJEffectManager::reset @ 0x1002dd799 // > GJEffectManager::reset @ 0x1002dd7a5 // > GJEffectManager::reset @ 0x1002dd7b1 // > cocos2d::CCDictionary::dCCDictionary @ 0x10030da53 // > sub_10030DBF0 @ 0x10030dc03 // > sub_10030DC20 @ 0x10030dc33 // > SetGroupIDLayer::updateGroupIDButtons @ 0x100316233 // > cocos2d::CCSpriteFrameCache::removeSpriteFrames @ 0x10031d36e // > cocos2d::CCSpriteFrameCache::removeSpriteFrames @ 0x10031d377 // > PlayerObject::flipGravity @ 0x10040398f // > PlayerObject::flipGravity @ 0x10040399b // > PlayerObject::flipGravity @ 0x1004039a7 // > PlayerObject::flipGravity @ 0x1004039b3 // > PlayerObject::resetCollisionLog @ 0x100404544 // > PlayerObject::resetCollisionLog @ 0x100404550 // > PlayerObject::resetCollisionLog @ 0x10040455c // > PlayerObject::resetCollisionLog @ 0x100404568 // > PlayerObject::spiderTestJumpInternal @ 0x10040e2e3 // > PlayerObject::spiderTestJumpInternal @ 0x10040e2ef // > PlayerObject::spiderTestJumpInternal @ 0x10040e2fb // > PlayerObject::spiderTestJumpInternal @ 0x10040e307 // > PlayerObject::spiderTestJumpX @ 0x10040f44a // > PlayerObject::spiderTestJumpX @ 0x10040f456 // > PlayerObject::spiderTestJumpX @ 0x10040f462 // > PlayerObject::spiderTestJumpX @ 0x10040f46e // > PlayerObject::spiderTestJumpY @ 0x1004102eb // > PlayerObject::spiderTestJumpY @ 0x1004102f7 // > PlayerObject::spiderTestJumpY @ 0x100410303 // > PlayerObject::spiderTestJumpY @ 0x10041030f // > PlayerObject::rotateGameplay @ 0x100412681 // > PlayerObject::rotateGameplay @ 0x10041268d // > PlayerObject::rotateGameplay @ 0x100412699 // > PlayerObject::rotateGameplay @ 0x1004126a5 // > cocos2d::CCProfiler::releaseAllTimers @ 0x1004ec3c9 // > GameLevelManager::resetAllTimers @ 0x100538ecc // > GameLevelManager::resetGauntlets @ 0x100543c7c // > CCAnimateFrameCache::removeSpriteFrames @ 0x10056caad // > CCAnimateFrameCache::removeSpriteFrames @ 0x10056cab6 // > CCAnimateFrameCache::removeSpriteFrames @ 0x10056cac5 // > cocos2d::FNTConfigRemoveCache @ 0x1005d4f10 // > cocos2d::CCLabelBMFont::purgeCachedData @ 0x1005d8390 // > cocos2d::CCTextureCache::removeAllTextures @ 0x1005eec99 // > SpriteAnimationManager::doCleanup @ 0x100724680 // > AchievementManager::resetAchievements @ 0x100785d1c // // 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::removeAllObjects(cocos2d::CCDictionary *a1) { cocos2d::CCDictElement *m_pElements; // r14 cocos2d::CCDictElement **p_m_pElements; // rbx char *prev; // rax cocos2d::CCDictElement *next; // r15 void ***v5; // rcx void **v6; // rdx void *v7; // rsi cocos2d::CCDictElement *v8; // rdx cocos2d::CCDictElement **v9; // rsi void **v10; // rcx char *v11; // rdx __int64 v12; // rax UT_hash_handle *hh_prev; // rax UT_hash_handle *hh_next; // rdx m_pElements = a1->m_pElements; if ( m_pElements ) { p_m_pElements = &a1->m_pElements; while ( 1 ) { prev = (char *)m_pElements->hh.prev; next = (cocos2d::CCDictElement *)m_pElements->hh.next; if ( prev ) break; v5 = (void ***)*p_m_pElements; if ( next ) goto LABEL_8; free(*v5[34]); free((*p_m_pElements)->hh.tbl); *p_m_pElements = nullptr; LABEL_4: cocos2d::CCObject::release(m_pElements->m_pObject); operator delete(m_pElements); m_pElements = next; if ( !next ) return; } v5 = (void ***)*p_m_pElements; LABEL_8: v6 = v5[34]; v7 = v6[4]; if ( m_pElements == (cocos2d::CCDictElement *)((_BYTE *)v6[3] - (_BYTE *)v7) ) v6[3] = &prev[(_QWORD)v7]; v8 = (cocos2d::CCDictElement *)m_pElements->hh.next; v9 = (cocos2d::CCDictElement **)&prev[(_QWORD)v7 + 16]; if ( !prev ) { v9 = &a1->m_pElements; v5 = (void ***)m_pElements->hh.next; } *v9 = v8; v10 = v5[34]; if ( v8 ) *(_QWORD *)&v8->m_szKey[(_QWORD)v10[4] + 8] = prev; v11 = (char *)*v10; v12 = 16LL * (m_pElements->hh.hashv & (*((_DWORD *)v10 + 2) - 1)); --*(_DWORD *)&v11[v12 + 8]; if ( *(cocos2d::CCDictElement **)&v11[v12] == (cocos2d::CCDictElement *)&m_pElements->hh ) { *(_QWORD *)&v11[v12] = m_pElements->hh.hh_next; hh_prev = m_pElements->hh.hh_prev; hh_next = m_pElements->hh.hh_next; if ( !hh_prev ) goto LABEL_17; } else { hh_prev = m_pElements->hh.hh_prev; hh_next = m_pElements->hh.hh_next; if ( !hh_prev ) { LABEL_17: if ( hh_next ) hh_next->hh_prev = hh_prev; --*((_DWORD *)v10 + 4); goto LABEL_4; } } hh_prev->hh_next = hh_next; goto LABEL_17; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source