{"type": "func", "start": 4296942696, "end": 4296942800, "name": "GJBaseGameLayer::resetActiveEnterEffects", "pseudocode": "// \n// GJBaseGameLayer::resetActiveEnterEffects from 0x1001e2468 to 0x1001e24d0 (104 bytes)\n// \n// 3 xrefs:\n// > PlayLayer::init @ 0x100115a48\n// > PlayLayer::resetLevel @ 0x100121db8\n// > GJBaseGameLayer::resetLevelVariables @ 0x1002023f8\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 GJBaseGameLayer::resetActiveEnterEffects(GJBaseGameLayer *a1)\n{\n  std::__vector_base<int>::pointer begin; // x0\n  signed __int64 v3; // x2\n  std::__vector_base<int>::pointer v4; // x0\n  signed __int64 v5; // x2\n\n  begin = a1->m_gameState.m_enterChannelMap.__begin_;\n  v3 = (char *)a1->m_gameState.m_enterChannelMap.__end_ - (char *)begin;\n  if ( v3 >= 1 )\n    memset_pattern16(begin, &unk_10063A510, v3);\n  v4 = a1->m_gameState.m_exitChannelMap.__begin_;\n  v5 = (char *)a1->m_gameState.m_exitChannelMap.__end_ - (char *)v4;\n  if ( v5 >= 1 )\n    memset_pattern16(v4, &unk_10063A510, v5);\n  sub_100209614(&a1->m_gameState.m_enterEffectInstanceVectors);\n  sub_100209614(&a1->m_gameState.m_exitEffectInstanceVectors);\n}", "assembly": "; \n; GJBaseGameLayer::resetActiveEnterEffects from 0x1001e2468 to 0x1001e24d0 (104 bytes)\n; \n; 3 xrefs:\n; > PlayLayer::init @ 0x100115a48\n; > PlayLayer::resetLevel @ 0x100121db8\n; > GJBaseGameLayer::resetLevelVariables @ 0x1002023f8\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, 0x1001e2468\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001e246c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001e2470\nMOV             X19, X0                                                ; +0xc, 0x1001e2474\nLDR             X0, [X0,#0x598]; __b                                   ; +0x10, 0x1001e2478\nLDR             X8, [X19,#0x5A0]                                       ; +0x14, 0x1001e247c\nSUB             X2, X8, X0; __len                                      ; +0x18, 0x1001e2480\nCMP             X2, #1                                                 ; +0x1c, 0x1001e2484\nB.LT            loc_1001E2498                                          ; +0x20, 0x1001e2488\nADRL            X1, unk_10063A510; __pattern16                         ; +0x24, 0x1001e248c\nBL              _memset_pattern16                                      ; +0x2c, 0x1001e2494\nLDR             X0, [X19,#0x5B0]; __b                                  ; +0x30, 0x1001e2498\nLDR             X8, [X19,#0x5B8]                                       ; +0x34, 0x1001e249c\nSUB             X2, X8, X0; __len                                      ; +0x38, 0x1001e24a0\nCMP             X2, #1                                                 ; +0x3c, 0x1001e24a4\nB.LT            loc_1001E24B8                                          ; +0x40, 0x1001e24a8\nADRL            X1, unk_10063A510; __pattern16                         ; +0x44, 0x1001e24ac\nBL              _memset_pattern16                                      ; +0x4c, 0x1001e24b4\nADD             X0, X19, #0x548                                        ; +0x50, 0x1001e24b8\nBL              sub_100209614                                          ; +0x54, 0x1001e24bc\nADD             X0, X19, #0x570                                        ; +0x58, 0x1001e24c0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x1001e24c4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x1001e24c8\nB               sub_100209614                                          ; +0x64, 0x1001e24cc", "xrefs": ["PlayLayer::init @ 0x100115a48", "PlayLayer::resetLevel @ 0x100121db8", "GJBaseGameLayer::resetLevelVariables @ 0x1002023f8"], "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"}