//
// GJEffectManager::reset from 0x10000ee08 to 0x10000eec0 (184 bytes)
//
// 5 xrefs:
// > GJEffectManager::loadFromState @ 0x100016d70
// > PlayLayer::loadDefaultColors @ 0x1001186e8
// > LevelEditorLayer::updateGameObjects @ 0x100358654
// > LevelEditorLayer::onPlaytest @ 0x100362b70
// > LevelEditorLayer::onStopPlaytest @ 0x100363518
//
// 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)
{
__int64 i; // x8
__int64 j; // x8
cocos2d::CCDictionary *m_unkDict150; // x8
cocos2d::CCDictElement *m_pElements; // x9
cocos2d::CCDictElement *next; // x11
cocos2d::CCObject *m_pObject; // x9
sub_100018054(&a1->m_unkMap288);
cocos2d::CCDictionary::removeAllObjects(a1->m_colorActionDict);
cocos2d::CCDictionary::removeAllObjects(a1->m_unkDict268);
cocos2d::CCDictionary::removeAllObjects(a1->m_unkObject148);
for ( i = 0; i != 1102; ++i )
a1->m_colorActionVector.__begin_[i] = nullptr;
for ( j = 0; j != 10000; ++j )
a1->m_unkVector270.__begin_[j] = nullptr;
m_unkDict150 = a1->m_unkDict150;
if ( m_unkDict150 )
{
m_pElements = m_unkDict150->m_pElements;
if ( m_pElements )
{
do
{
next = (cocos2d::CCDictElement *)m_pElements->hh.next;
m_pObject = m_pElements->m_pObject;
LOWORD(m_pObject[5].m_nZOrder) = -1;
m_pObject[5].m_unknown2 = -1;
m_pObject[5].m_uUnknown = 1132396544;
m_pObject[6].__vftable = nullptr;
m_pElements = next;
}
while ( next );
}
}
GJEffectManager::resetEffects(a1);
GJEffectManager::resetMoveActions(a1);
}