diff --git a/pkgs/discord-krisp/krisp-patcher.py b/pkgs/discord-krisp/krisp-patcher.py index cf656dca3..79ff9696f 100644 --- a/pkgs/discord-krisp/krisp-patcher.py +++ b/pkgs/discord-krisp/krisp-patcher.py @@ -23,7 +23,7 @@ symtab = elf.get_section_by_name('.symtab') -krisp_initialize_address = symtab.get_symbol_by_name("_ZN7discord15KrispInitializeEv")[0].entry.st_value +krisp_initialize_address = symtab.get_symbol_by_name("_ZN7discordL17DoKrispInitializeEv")[0].entry.st_value isSignedByDiscord_address = symtab.get_symbol_by_name("_ZN7discord4util17IsSignedByDiscordERKNSt4__Cr12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE")[0].entry.st_value text = elf.get_section_by_name('.text') @@ -40,7 +40,7 @@ f = open(executable, "rb") f.seek(krisp_initialize_offset) -krisp_initialize = f.read(64) +krisp_initialize = f.read(256) f.close() # States