Changing location of code entry function and fixing an error, needed to clear
HashSet before every call (or after every call).
Authored by: nerius 2023-05-27
Parent: [r824]
Child: [r826]