You can check out the source of IW6x. It's a client for COD Ghosts. It has arxan bypassed and shows how to emulate DemonWare version 2. You'll need to emulate version 3 for BO3 though, but still, that should be a good reference.
https://github.com/IW4x/iw6x-client