View Single Post
10-30-17, 03:11 PM   #3
ballistics1142
A Deviate Faerie Dragon
Join Date: Apr 2017
Posts: 14
Originally Posted by MunkDev View Post
What you're doing is not safe. Any time the default UI calls your replacement functions the execution path becomes tainted afterwards. If the call to PlaySound is eventually followed by some protected function call from signed code down the path, then it's going to break.

In cases where you want to replace an API function, you need to make sure that the function isn't used in any execution path that ultimately does something protected.
Ok so in that case, can you think of another way of achieving the same end result i'm looking for in that addon without breaking the execution path?
  Reply With Quote