{"type": "func", "start": 4295028416, "end": 4295028632, "name": "GJEffectManager::resetEffects", "pseudocode": "// \n// GJEffectManager::resetEffects from 0x10000eec0 to 0x10000ef98 (216 bytes)\n// \n// 3 xrefs:\n// > GJEffectManager::reset @ 0x10000eeac\n// > GJBaseGameLayer::resetLevelVariables @ 0x100202474\n// > LevelEditorLayer::onPlaytest @ 0x100362da8\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::resetEffects(GJEffectManager *a1)\n{\n  std::__hash_node_base<std::__hash_node<std::__hash_value_type<int, TimerItem>, void *> *>::__next_pointer i; // x20\n\n  GJEffectManager::removeAllPulseActions(a1);\n  sub_100018054(&a1->m_opacityEffectMap);\n  sub_10000FF7C(&a1->m_unkVector1e0);\n  sub_10000FFC8(&a1->m_unkVector248);\n  sub_10000FF7C(&a1->m_unkVector230);\n  GJEffectManager::resetToggledGroups(a1);\n  sub_100018054(&a1->m_itemCountMap);\n  GJEffectManager::transferPersistentItems(a1);\n  sub_100017D70(&a1->m_unkMap498, a1->m_unkMap498.__tree_.__pair1_.__value_.__left_);\n  a1->m_unkMap498.__tree_.__begin_node_ = &a1->m_unkMap498.__tree_.__pair1_.__value_;\n  *(_OWORD *)&a1->m_unkMap498.__tree_.__pair1_.__value_.__left_ = 0u;\n  sub_1000100EC(&a1->m_spawnTriggerActions);\n  sub_100018054(&a1->m_unkMap4c8);\n  sub_10001876C(&a1->m_countTriggerActions);\n  sub_1000187C0(&a1->m_unkMap3f8);\n  for ( i = a1->m_timerItemMap.__table_.__p1_.__value_.__next_;\n        i;\n        i = (std::__hash_node_base<std::__hash_node<std::__hash_value_type<int, TimerItem>, void *> *>::__next_pointer)sub_1000188C8(&a1->m_timerItemMap, i) )\n  {\n    while ( sub_100018814(&a1->m_persistentTimerItemSet, &i[2]) )\n    {\n      i = i->__next_;\n      if ( !i )\n        goto LABEL_6;\n    }\n  }\nLABEL_6:\n  *(_QWORD *)&a1->m_unk790 = 0;\n  *(_OWORD *)&a1->m_unk780 = 0u;\n}", "assembly": "; \n; GJEffectManager::resetEffects from 0x10000eec0 to 0x10000ef98 (216 bytes)\n; \n; 3 xrefs:\n; > GJEffectManager::reset @ 0x10000eeac\n; > GJBaseGameLayer::resetLevelVariables @ 0x100202474\n; > LevelEditorLayer::onPlaytest @ 0x100362da8\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, 0x10000eec0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10000eec4\nADD             X29, SP, #0x10                                         ; +0x8, 0x10000eec8\nMOV             X19, X0                                                ; +0xc, 0x10000eecc\nBL              GJEffectManager__removeAllPulseActions                 ; +0x10, 0x10000eed0\nADD             X0, X19, #0x198                                        ; +0x14, 0x10000eed4\nBL              sub_100018054                                          ; +0x18, 0x10000eed8\nADD             X0, X19, #0x1C0                                        ; +0x1c, 0x10000eedc\nBL              sub_10000FF7C                                          ; +0x20, 0x10000eee0\nADD             X0, X19, #0x218                                        ; +0x24, 0x10000eee4\nBL              sub_10000FFC8                                          ; +0x28, 0x10000eee8\nADD             X0, X19, #0x200                                        ; +0x2c, 0x10000eeec\nBL              sub_10000FF7C                                          ; +0x30, 0x10000eef0\nMOV             X0, X19                                                ; +0x34, 0x10000eef4\nBL              GJEffectManager__resetToggledGroups                    ; +0x38, 0x10000eef8\nADD             X0, X19, #0x2C8                                        ; +0x3c, 0x10000eefc\nBL              sub_100018054                                          ; +0x40, 0x10000ef00\nMOV             X0, X19                                                ; +0x44, 0x10000ef04\nBL              GJEffectManager__transferPersistentItems               ; +0x48, 0x10000ef08\nADD             X20, X19, #0x430                                       ; +0x4c, 0x10000ef0c\nLDR             X1, [X19,#0x430]                                       ; +0x50, 0x10000ef10\nADD             X0, X19, #0x428                                        ; +0x54, 0x10000ef14\nBL              sub_100017D70                                          ; +0x58, 0x10000ef18\nSTR             X20, [X19,#0x428]                                      ; +0x5c, 0x10000ef1c\nMOVI            V0.16B, #0                                             ; +0x60, 0x10000ef20\nSTR             Q0, [X19,#0x430]                                       ; +0x64, 0x10000ef24\nADD             X0, X19, #0x468                                        ; +0x68, 0x10000ef28\nBL              sub_1000100EC                                          ; +0x6c, 0x10000ef2c\nADD             X0, X19, #0x440                                        ; +0x70, 0x10000ef30\nBL              sub_100018054                                          ; +0x74, 0x10000ef34\nADD             X0, X19, #0x1D8                                        ; +0x78, 0x10000ef38\nBL              sub_10001876C                                          ; +0x7c, 0x10000ef3c\nADD             X0, X19, #0x3B8                                        ; +0x80, 0x10000ef40\nBL              sub_1000187C0                                          ; +0x84, 0x10000ef44\nLDR             X20, [X19,#0x3A0]                                      ; +0x88, 0x10000ef48\nCBZ             X20, loc_10000EF80                                     ; +0x8c, 0x10000ef4c\nADD             X0, X19, #0x318                                        ; +0x90, 0x10000ef50\nADD             X1, X20, #0x10                                         ; +0x94, 0x10000ef54\nBL              sub_100018814                                          ; +0x98, 0x10000ef58\nCBZ             X0, loc_10000EF6C                                      ; +0x9c, 0x10000ef5c\nLDR             X20, [X20]                                             ; +0xa0, 0x10000ef60\nCBNZ            X20, loc_10000EF50                                     ; +0xa4, 0x10000ef64\nB               loc_10000EF80                                          ; +0xa8, 0x10000ef68\nADD             X0, X19, #0x390                                        ; +0xac, 0x10000ef6c\nMOV             X1, X20                                                ; +0xb0, 0x10000ef70\nBL              sub_1000188C8                                          ; +0xb4, 0x10000ef74\nMOV             X20, X0                                                ; +0xb8, 0x10000ef78\nCBNZ            X20, loc_10000EF50                                     ; +0xbc, 0x10000ef7c\nSTR             XZR, [X19,#0x660]                                      ; +0xc0, 0x10000ef80\nMOVI            V0.16B, #0                                             ; +0xc4, 0x10000ef84\nSTR             Q0, [X19,#0x650]                                       ; +0xc8, 0x10000ef88\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xcc, 0x10000ef8c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xd0, 0x10000ef90\nRET                                                                    ; +0xd4, 0x10000ef94", "xrefs": ["GJEffectManager::reset @ 0x10000eeac", "GJBaseGameLayer::resetLevelVariables @ 0x100202474", "LevelEditorLayer::onPlaytest @ 0x100362da8"], "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"}