Originally Posted by
Shynd
For the most part, yes, keeping it private will keep you safe. They are not currently, to my knowledge, walking the stack to see what called what function, so you should be relatively safe if you're just injecting small amounts of assembly that calls a simple function.
That said, nothing is 100% safe because Warden has the ability to change at any time. Play at your own risk.
By the way, I'm pretty sure the above codecave is out-dated. I believe the 3rd line should be "add eax, 0x10" instead of 8.
And, to answer your other question, read up on reverse-engineering, get yourself OLLYDBG and IDA, and you will be able to find out, for yourself, how CastSpellID (et all) is called.