Hook or try. Thats how to do it, there are other ways, since the IDs are constant you should find them.
For exaple lets use chat id: 104d = 68h, then try to get the chat function with ReturnAddress and you can catch it. Olly should show offsets as hex values.