// // GJEffectManager::reset from 0x1002dd730 to 0x1002dd842 (274 bytes) // // 5 xrefs: // > PlayLayer::loadDefaultColors @ 0x1000b1c7e // > LevelEditorLayer::updateGameObjects @ 0x1000dda5e // > LevelEditorLayer::onPlaytest @ 0x1000f22b0 // > LevelEditorLayer::onStopPlaytest @ 0x1000f329f // > GJEffectManager::loadFromState @ 0x1002eee87 // // 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 GJEffectManager::reset(GJEffectManager *a1) { std::__hash_node_base, void *> *>::__next_pointer next; // rdi std::__hash_node_base, void *> *> *v3; // r14 unsigned __int64 value; // rsi cocos2d::CCDictionary *m_unkDict150; // rax cocos2d::CCDictElement *i; // rax cocos2d::CCObject *m_pObject; // rdx if ( a1->m_unkMap288.__table_.__p2_.__value_ ) { next = a1->m_unkMap288.__table_.__p1_.__value_.__next_; if ( next ) { do { v3 = next->__next_; operator delete(next); next = v3; } while ( v3 ); } a1->m_unkMap288.__table_.__p1_.__value_.__next_ = nullptr; value = a1->m_unkMap288.__table_.__bucket_list_.__ptr_.__value_.__data_.__value_; if ( value ) __bzero(a1->m_unkMap288.__table_.__bucket_list_.__ptr_.__value_, 8 * value); a1->m_unkMap288.__table_.__p2_.__value_ = 0; } cocos2d::CCDictionary::removeAllObjects(a1->m_colorActionDict); cocos2d::CCDictionary::removeAllObjects(a1->m_unkDict268); cocos2d::CCDictionary::removeAllObjects(a1->m_unkObject148); __bzero(a1->m_colorActionVector.__begin_, 8816); __bzero(a1->m_unkVector270.__begin_, 80000); m_unkDict150 = a1->m_unkDict150; if ( m_unkDict150 ) { for ( i = m_unkDict150->m_pElements; i; m_pObject[6].__vftable = nullptr ) { m_pObject = i->m_pObject; i = (cocos2d::CCDictElement *)i->hh.next; LOWORD(m_pObject[5].m_nZOrder) = -1; *(_QWORD *)&m_pObject[5].m_uUnknown = -3162570752LL; } } GJEffectManager::resetEffects(a1); GJEffectManager::resetMoveActions(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source