Add packet related symbols

This commit is contained in:
Bigjango13 2024-01-23 20:35:57 -05:00 committed by TheBrokenRail
parent 29b49ac70a
commit 83a282551d
4 changed files with 13 additions and 2 deletions

View File

@ -161,7 +161,7 @@ static void Screen_render_injection(Screen *screen, int32_t param_1, int32_t par
// Sanitize Username // Sanitize Username
#define MAX_USERNAME_LENGTH 16 #define MAX_USERNAME_LENGTH 16
static void LoginPacket_read_injection(LoginPacket *packet, unsigned char *bit_stream) { static void LoginPacket_read_injection(LoginPacket *packet, RakNet_BitStream *bit_stream) {
// Call Original Method // Call Original Method
LoginPacket_read_non_virtual(packet, bit_stream); LoginPacket_read_non_virtual(packet, bit_stream);

View File

@ -20,6 +20,7 @@ set(SRC
src/network/raknet/RakNet_StartupResult.h src/network/raknet/RakNet_StartupResult.h
src/network/raknet/RakNet_RakNetGUID.def src/network/raknet/RakNet_RakNetGUID.def
src/network/raknet/RakNet_RakPeer.def src/network/raknet/RakNet_RakPeer.def
src/network/raknet/RakNet_BitStream.def
src/network/ServerSideNetworkHandler.def src/network/ServerSideNetworkHandler.def
src/network/packet/LoginPacket.def src/network/packet/LoginPacket.def
src/network/packet/PlayerEquipmentPacket.def src/network/packet/PlayerEquipmentPacket.def

View File

@ -1,2 +1,8 @@
constructor () = 0x6fc18; constructor () = 0x6fc18;
virtual-method void read(uchar *bit_stream) = 0xc; size 0x10;
vtable 0x1024d8;
vtable-size 0x14;
virtual-method void write(RakNet_BitStream *bit_stream) = 0x8;
virtual-method void read(RakNet_BitStream *bit_stream) = 0xc;
virtual-method void handle(RakNet_RakNetGUID *guid, NetEventCallback *callback) = 0x10;

View File

@ -0,0 +1,4 @@
method void Write_uchar(uchar *i) = 0x18448;
method void Write_int(int *i) = 0x18454;
method void Read_int(int *i) = 0x184ec;