{"type": "func", "start": 4296138784, "end": 4296138894, "name": "GJBaseGameLayer::resetActiveEnterEffects", "pseudocode": "// \n// GJBaseGameLayer::resetActiveEnterEffects from 0x10011e020 to 0x10011e08e (110 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::init @ 0x1000ac457\n// > PlayLayer::resetLevel @ 0x1000be67e\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; // rdi\n  std::__vector_base<int>::pointer v3; // rdi\n\n  begin = a1->m_gameState.m_enterChannelMap.__begin_;\n  if ( (char *)a1->m_gameState.m_enterChannelMap.__end_ - (char *)begin > 0 )\n    memset_pattern16(begin, &unk_1008169F0, (char *)a1->m_gameState.m_enterChannelMap.__end_ - (char *)begin);\n  v3 = a1->m_gameState.m_exitChannelMap.__begin_;\n  if ( (char *)a1->m_gameState.m_exitChannelMap.__end_ - (char *)v3 > 0 )\n    memset_pattern16(v3, &unk_1008169F0, (char *)a1->m_gameState.m_exitChannelMap.__end_ - (char *)v3);\n  sub_100165880(&a1->m_gameState.m_enterEffectInstanceVectors);\n  sub_100165880(&a1->m_gameState.m_exitEffectInstanceVectors);\n}", "assembly": "; \n; GJBaseGameLayer::resetActiveEnterEffects from 0x10011e020 to 0x10011e08e (110 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::init @ 0x1000ac457\n; > PlayLayer::resetLevel @ 0x1000be67e\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\npush    rbp                                                            ; +0x0, 0x10011e020\nmov     rbp, rsp                                                       ; +0x1, 0x10011e021\npush    rbx                                                            ; +0x4, 0x10011e024\npush    rax                                                            ; +0x5, 0x10011e025\nmov     rbx, rdi                                                       ; +0x6, 0x10011e026\nmov     rdi, [rdi+598h]; __b                                           ; +0x9, 0x10011e029\nmov     rdx, [rbx+5A0h]                                                ; +0x10, 0x10011e030\nsub     rdx, rdi; __len                                                ; +0x17, 0x10011e037\ntest    rdx, rdx                                                       ; +0x1a, 0x10011e03a\njle     short loc_10011E04B                                            ; +0x1d, 0x10011e03d\nlea     rsi, unk_1008169F0; __pattern16                                ; +0x1f, 0x10011e03f\ncall    _memset_pattern16                                              ; +0x26, 0x10011e046\nmov     rdi, [rbx+5B0h]; __b                                           ; +0x2b, 0x10011e04b\nmov     rdx, [rbx+5B8h]                                                ; +0x32, 0x10011e052\nsub     rdx, rdi; __len                                                ; +0x39, 0x10011e059\ntest    rdx, rdx                                                       ; +0x3c, 0x10011e05c\njle     short loc_10011E06D                                            ; +0x3f, 0x10011e05f\nlea     rsi, unk_1008169F0; __pattern16                                ; +0x41, 0x10011e061\ncall    _memset_pattern16                                              ; +0x48, 0x10011e068\nlea     rdi, [rbx+548h]                                                ; +0x4d, 0x10011e06d\ncall    sub_100165880                                                  ; +0x54, 0x10011e074\nadd     rbx, 570h                                                      ; +0x59, 0x10011e079\nmov     rdi, rbx                                                       ; +0x60, 0x10011e080\nadd     rsp, 8                                                         ; +0x63, 0x10011e083\npop     rbx                                                            ; +0x67, 0x10011e087\npop     rbp                                                            ; +0x68, 0x10011e088\njmp     sub_100165880                                                  ; +0x69, 0x10011e089", "xrefs": ["PlayLayer::init @ 0x1000ac457", "PlayLayer::resetLevel @ 0x1000be67e"], "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"}