{"type": "func", "start": 4295992112, "end": 4295992222, "name": "GJBaseGameLayer::resetActiveEnterEffects", "pseudocode": "// \n// GJBaseGameLayer::resetActiveEnterEffects from 0x1000fa330 to 0x1000fa39e (110 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::init @ 0x100079886\n// > PlayLayer::resetLevel @ 0x10008caa0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:21:18 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::resetActiveEnterEffects(_QWORD *a1)\n{\n  void *v2; // rdi\n  void *v3; // rdi\n\n  v2 = (void *)a1[179];\n  if ( (__int64)(a1[180] - (_QWORD)v2) > 0 )\n    memset_pattern16(v2, &unk_100A04DD0, a1[180] - (_QWORD)v2);\n  v3 = (void *)a1[182];\n  if ( (__int64)(a1[183] - (_QWORD)v3) > 0 )\n    memset_pattern16(v3, &unk_100A04DD0, a1[183] - (_QWORD)v3);\n  sub_100144F30(a1 + 169);\n  return sub_100144F30(a1 + 174);\n}", "assembly": "; \n; GJBaseGameLayer::resetActiveEnterEffects from 0x1000fa330 to 0x1000fa39e (110 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::init @ 0x100079886\n; > PlayLayer::resetLevel @ 0x10008caa0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:21:18 +0000\n; \npush    rbp                                                            ; +0x0, 0x1000fa330\nmov     rbp, rsp                                                       ; +0x1, 0x1000fa331\npush    rbx                                                            ; +0x4, 0x1000fa334\npush    rax                                                            ; +0x5, 0x1000fa335\nmov     rbx, rdi                                                       ; +0x6, 0x1000fa336\nmov     rdi, [rdi+598h]; __b                                           ; +0x9, 0x1000fa339\nmov     rdx, [rbx+5A0h]                                                ; +0x10, 0x1000fa340\nsub     rdx, rdi; __len                                                ; +0x17, 0x1000fa347\ntest    rdx, rdx                                                       ; +0x1a, 0x1000fa34a\njle     short loc_1000FA35B                                            ; +0x1d, 0x1000fa34d\nlea     rsi, unk_100A04DD0; __pattern16                                ; +0x1f, 0x1000fa34f\ncall    _memset_pattern16                                              ; +0x26, 0x1000fa356\nmov     rdi, [rbx+5B0h]; __b                                           ; +0x2b, 0x1000fa35b\nmov     rdx, [rbx+5B8h]                                                ; +0x32, 0x1000fa362\nsub     rdx, rdi; __len                                                ; +0x39, 0x1000fa369\ntest    rdx, rdx                                                       ; +0x3c, 0x1000fa36c\njle     short loc_1000FA37D                                            ; +0x3f, 0x1000fa36f\nlea     rsi, unk_100A04DD0; __pattern16                                ; +0x41, 0x1000fa371\ncall    _memset_pattern16                                              ; +0x48, 0x1000fa378\nlea     rdi, [rbx+548h]                                                ; +0x4d, 0x1000fa37d\ncall    sub_100144F30                                                  ; +0x54, 0x1000fa384\nadd     rbx, 570h                                                      ; +0x59, 0x1000fa389\nmov     rdi, rbx                                                       ; +0x60, 0x1000fa390\nadd     rsp, 8                                                         ; +0x63, 0x1000fa393\npop     rbx                                                            ; +0x67, 0x1000fa397\npop     rbp                                                            ; +0x68, 0x1000fa398\njmp     sub_100144F30                                                  ; +0x69, 0x1000fa399", "xrefs": ["PlayLayer::init @ 0x100079886", "PlayLayer::resetLevel @ 0x10008caa0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}