Hi,
I'm wondering if the following is possible in skill -
Say I have an existing skill library that I don't have edit access to. This library calls a procedure as part of a higher-level routine.
What I would like to do is intercept this call to the procedure, and insert my own 'wrapper' and then call the procedure.
So for example - the current setup is:
top_proc -> calls sub_proc
I want 'alias' sub_proc, so it is called sub_proc_orig, and then define my own procedure called sub_proc.
sub_proc will 'do some work' and then pass on the call to sub_proc_orig, so the call-chain would now be:
top_proc -> calls sub_proc (my proc) -> calls sub_proc_orig (original proc)
Is this possible by using the 'address/id' of the existing sub_proc perhaps?