//
// GJEffectManager::resetEffects from 0x10000eec0 to 0x10000ef98 (216 bytes)
//
// 3 xrefs:
// > GJEffectManager::reset @ 0x10000eeac
// > GJBaseGameLayer::resetLevelVariables @ 0x100202474
// > LevelEditorLayer::onPlaytest @ 0x100362da8
//
// 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::resetEffects(GJEffectManager *a1)
{
std::__hash_node_base, void *> *>::__next_pointer i; // x20
GJEffectManager::removeAllPulseActions(a1);
sub_100018054(&a1->m_opacityEffectMap);
sub_10000FF7C(&a1->m_unkVector1e0);
sub_10000FFC8(&a1->m_unkVector248);
sub_10000FF7C(&a1->m_unkVector230);
GJEffectManager::resetToggledGroups(a1);
sub_100018054(&a1->m_itemCountMap);
GJEffectManager::transferPersistentItems(a1);
sub_100017D70(&a1->m_unkMap498, a1->m_unkMap498.__tree_.__pair1_.__value_.__left_);
a1->m_unkMap498.__tree_.__begin_node_ = &a1->m_unkMap498.__tree_.__pair1_.__value_;
*(_OWORD *)&a1->m_unkMap498.__tree_.__pair1_.__value_.__left_ = 0u;
sub_1000100EC(&a1->m_spawnTriggerActions);
sub_100018054(&a1->m_unkMap4c8);
sub_10001876C(&a1->m_countTriggerActions);
sub_1000187C0(&a1->m_unkMap3f8);
for ( i = a1->m_timerItemMap.__table_.__p1_.__value_.__next_;
i;
i = (std::__hash_node_base, void *> *>::__next_pointer)sub_1000188C8(&a1->m_timerItemMap, i) )
{
while ( sub_100018814(&a1->m_persistentTimerItemSet, &i[2]) )
{
i = i->__next_;
if ( !i )
goto LABEL_6;
}
}
LABEL_6:
*(_QWORD *)&a1->m_unk790 = 0;
*(_OWORD *)&a1->m_unk780 = 0u;
}