[DiscordArchive] Right. So how would you find a specific opcode?
[DiscordArchive] Right. So how would you find a specific opcode?
Archived author: Azarchius • Posted: 2019-12-17T05:34:16.279000+00:00
Original source
Right. So how would you find a specific opcode?
Archived author: MaxtorCoder • Posted: 2019-12-17T05:35:20.214000+00:00
Original source
By doing what I said. Look up one of the strings I sent above. Xref that string, top function, xref, top function, F5.
Archived author: MaxtorCoder • Posted: 2019-12-17T05:35:54+00:00
Original source
And then you are in `NetClient::JAM<clientstring>Dispatch`
Archived author: MaxtorCoder • Posted: 2019-12-17T05:36:29.487000+00:00
Original source
`NetClient::JAMClientDispatch` is a huge ass switch case function, can't miss it. <:poggers:638459728162193429>
Archived author: Azarchius • Posted: 2019-12-17T05:37:22.868000+00:00
Original source
Gotcha. Is the opcode value the offset to the function from the beginning of that switch?
Archived author: MaxtorCoder • Posted: 2019-12-17T05:37:37.935000+00:00
Original source
No, it's literally the opcode hahaha
Archived author: MaxtorCoder • Posted: 2019-12-17T05:38:01.315000+00:00
Original source
So for example `0x25D2` (ClientAuthResponse in BFA) is at the top.
Archived author: Azarchius • Posted: 2019-12-17T05:38:03.302000+00:00
Original source
Oh literally the value of the opcode is up there? Okay that's straight forward. Thanks
Archived author: Azarchius • Posted: 2019-12-17T05:38:09.790000+00:00
Original source
Thanks a bunch mate.
Archived author: MaxtorCoder • Posted: 2019-12-17T05:38:31.137000+00:00
Original source
You have like 3 functions
Packet reader
Packet handler
Packet delete (?)
I never look at the bottom one.