Once in a very great while, you come across a weird situation where you want to know the IMP of the current method. I’ll just say right now that if you think you need this, you probably don’t. That’s how rare this situation is.
Dave’s approach to get the function pointer for the currently executing method.
Matt Gallagher has a solution as well.