I confess, I am not an absolute expert on the Ranbir code but from what I know it is based on and is more or less the IPC with a different name with some provisions here that's not there and vice versa.
Also, if I am not wrong, Andra Pradesh does have some parts of the IPC ammended, they just...