Decompile 2 functions in Source/Client/Mode/GameModeProtocol.cpp
Batch #12191 by cremane: 0 byte-identical, 2 confirmed by peer review. - fn_21589 SendPacketHeader: logic confirmed by peer review - fn_21590 SendPacketHeader2: logic confirmed by peer review Peer-reviewed-by: Yommy, Tanke, Toshiro Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
63d27c08ab
commit
ba51526e98
1 changed files with 4 additions and 2 deletions
|
|
@ -20,11 +20,13 @@ void DecodeSrcDst(const unsigned char* packed, int* srcX, int* srcY, int* dstX,
|
|||
// OFFSET: 0x00D08600
|
||||
// FUNCTION: fn_21589
|
||||
void SendPacketHeader(std::uint16_t packetType) {
|
||||
GetRagConnection().Send(sizeof(packetType), &packetType);
|
||||
std::uint16_t packet = packetType;
|
||||
GetRagConnection().Send(sizeof(packet), &packet);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00D08620
|
||||
// FUNCTION: fn_21590
|
||||
void SendPacketHeader2(std::uint16_t packetType) {
|
||||
GetRagConnection().Send(sizeof(packetType), &packetType);
|
||||
std::uint16_t packet = packetType;
|
||||
GetRagConnection().Send(sizeof(packet), &packet);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue