{"type": "func", "start": 4295028232, "end": 4295028416, "name": "GJEffectManager::reset", "pseudocode": "// \n// GJEffectManager::reset from 0x10000ee08 to 0x10000eec0 (184 bytes)\n// \n// 5 xrefs:\n// > GJEffectManager::loadFromState @ 0x100016d70\n// > PlayLayer::loadDefaultColors @ 0x1001186e8\n// > LevelEditorLayer::updateGameObjects @ 0x100358654\n// > LevelEditorLayer::onPlaytest @ 0x100362b70\n// > LevelEditorLayer::onStopPlaytest @ 0x100363518\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GJEffectManager::reset(GJEffectManager *a1)\n{\n  __int64 i; // x8\n  __int64 j; // x8\n  cocos2d::CCDictionary *m_unkDict150; // x8\n  cocos2d::CCDictElement *m_pElements; // x9\n  cocos2d::CCDictElement *next; // x11\n  cocos2d::CCObject *m_pObject; // x9\n\n  sub_100018054(&a1->m_unkMap288);\n  cocos2d::CCDictionary::removeAllObjects(a1->m_colorActionDict);\n  cocos2d::CCDictionary::removeAllObjects(a1->m_unkDict268);\n  cocos2d::CCDictionary::removeAllObjects(a1->m_unkObject148);\n  for ( i = 0; i != 1102; ++i )\n    a1->m_colorActionVector.__begin_[i] = nullptr;\n  for ( j = 0; j != 10000; ++j )\n    a1->m_unkVector270.__begin_[j] = nullptr;\n  m_unkDict150 = a1->m_unkDict150;\n  if ( m_unkDict150 )\n  {\n    m_pElements = m_unkDict150->m_pElements;\n    if ( m_pElements )\n    {\n      do\n      {\n        next = (cocos2d::CCDictElement *)m_pElements->hh.next;\n        m_pObject = m_pElements->m_pObject;\n        LOWORD(m_pObject[5].m_nZOrder) = -1;\n        m_pObject[5].m_unknown2 = -1;\n        m_pObject[5].m_uUnknown = 1132396544;\n        m_pObject[6].__vftable = nullptr;\n        m_pElements = next;\n      }\n      while ( next );\n    }\n  }\n  GJEffectManager::resetEffects(a1);\n  GJEffectManager::resetMoveActions(a1);\n}", "assembly": "; \n; GJEffectManager::reset from 0x10000ee08 to 0x10000eec0 (184 bytes)\n; \n; 5 xrefs:\n; > GJEffectManager::loadFromState @ 0x100016d70\n; > PlayLayer::loadDefaultColors @ 0x1001186e8\n; > LevelEditorLayer::updateGameObjects @ 0x100358654\n; > LevelEditorLayer::onPlaytest @ 0x100362b70\n; > LevelEditorLayer::onStopPlaytest @ 0x100363518\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10000ee08\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10000ee0c\nADD             X29, SP, #0x10                                         ; +0x8, 0x10000ee10\nMOV             X19, X0                                                ; +0xc, 0x10000ee14\nADD             X0, X0, #0x258                                         ; +0x10, 0x10000ee18\nBL              sub_100018054                                          ; +0x14, 0x10000ee1c\nLDR             X0, [X19,#0x230]                                       ; +0x18, 0x10000ee20\nBL              cocos2d__CCDictionary__removeAllObjects                ; +0x1c, 0x10000ee24\nLDR             X0, [X19,#0x238]                                       ; +0x20, 0x10000ee28\nBL              cocos2d__CCDictionary__removeAllObjects                ; +0x24, 0x10000ee2c\nLDR             X0, [X19,#0x148]                                       ; +0x28, 0x10000ee30\nBL              cocos2d__CCDictionary__removeAllObjects                ; +0x2c, 0x10000ee34\nMOV             X8, #0                                                 ; +0x30, 0x10000ee38\nLDR             X9, [X19,#0x280]                                       ; +0x34, 0x10000ee3c\nSTR             XZR, [X9,X8,LSL#3]                                     ; +0x38, 0x10000ee40\nADD             X8, X8, #1                                             ; +0x3c, 0x10000ee44\nCMP             X8, #0x44E                                             ; +0x40, 0x10000ee48\nB.NE            loc_10000EE3C                                          ; +0x44, 0x10000ee4c\nMOV             X8, #0                                                 ; +0x48, 0x10000ee50\nMOV             W9, #0x13880                                           ; +0x4c, 0x10000ee54\nLDR             X10, [X19,#0x240]                                      ; +0x54, 0x10000ee5c\nSTR             XZR, [X10,X8]                                          ; +0x58, 0x10000ee60\nADD             X8, X8, #8                                             ; +0x5c, 0x10000ee64\nCMP             X8, X9                                                 ; +0x60, 0x10000ee68\nB.NE            loc_10000EE5C                                          ; +0x64, 0x10000ee6c\nLDR             X8, [X19,#0x150]                                       ; +0x68, 0x10000ee70\nCBZ             X8, loc_10000EEA8                                      ; +0x6c, 0x10000ee74\nLDR             X9, [X8,#0x38]                                         ; +0x70, 0x10000ee78\nCBZ             X9, loc_10000EEA8                                      ; +0x74, 0x10000ee7c\nMOV             W8, #0xFFFFFFFF                                        ; +0x78, 0x10000ee80\nMOV             W10, #0x437F0000                                       ; +0x7c, 0x10000ee84\nLDR             X11, [X9,#0x120]                                       ; +0x80, 0x10000ee88\nLDR             X9, [X9,#0x108]                                        ; +0x84, 0x10000ee8c\nSTRH            W8, [X9,#0x144]                                        ; +0x88, 0x10000ee90\nSTR             W8, [X9,#0x140]                                        ; +0x8c, 0x10000ee94\nSTR             W10, [X9,#0x13C]                                       ; +0x90, 0x10000ee98\nSTR             XZR, [X9,#0x150]                                       ; +0x94, 0x10000ee9c\nMOV             X9, X11                                                ; +0x98, 0x10000eea0\nCBNZ            X11, loc_10000EE88                                     ; +0x9c, 0x10000eea4\nMOV             X0, X19                                                ; +0xa0, 0x10000eea8\nBL              GJEffectManager__resetEffects                          ; +0xa4, 0x10000eeac\nMOV             X0, X19                                                ; +0xa8, 0x10000eeb0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xac, 0x10000eeb4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xb0, 0x10000eeb8\nB               GJEffectManager__resetMoveActions                      ; +0xb4, 0x10000eebc", "xrefs": ["GJEffectManager::loadFromState @ 0x100016d70", "PlayLayer::loadDefaultColors @ 0x1001186e8", "LevelEditorLayer::updateGameObjects @ 0x100358654", "LevelEditorLayer::onPlaytest @ 0x100362b70", "LevelEditorLayer::onStopPlaytest @ 0x100363518"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}