And thus it is not possible to hook functions like CNWSItemPropertyHandler__RemoveBonusSpellOfLevel.
I was able to workaround the issue by creating a "stub" include file for CNWSItemPropertyHandler and putting the function I needed to hook inside it - surprisingly it worked without issues. But you will probably want to fix this in your API.
And thus it is not possible to hook functions like CNWSItemPropertyHandler__RemoveBonusSpellOfLevel.
I was able to workaround the issue by creating a "stub" include file for CNWSItemPropertyHandler and putting the function I needed to hook inside it - surprisingly it worked without issues. But you will probably want to fix this in your API.