Originally Posted by Lombra
Didn't realise hooksecurefunc simply replaced the hooked function, but that was easily confirmed.
|
Same, I only found out about that when I tried to see with hooksecurefunc whether RemoveExtraSpaces/RunScript was changed, or pointing to something else
Thought I was going crazy when the reference kept changing after I hooked it... every day you learn something new ><
http://wow.gamepedia.com/API_hooksecurefunc
Keep in mind that it actually replaces the original function with a new one (the function reference changes)
|