samp-re/reliability.c
2020-04-04 05:10:23 +02:00

26 lines
435 B
C

/* vim: set filetype=c ts=8 noexpandtab: */
#include "common.h"
#include "rakpeer.h"
#include "reliability.h"
__declspec(naked)
int __stdcall ReliabilityLayer__HandleSocketReceiveFromConnectedPlayer(
struct CReliabilityLayer *this,
char *buffer,
int length,
struct PlayerID playerId,
void *messageHandlerList,
int MTUSize,
int *ptrOutIsPacketFlood)
{
_asm {
pop eax
pop ecx
push eax
mov eax, 0x45F7E0
jmp eax
}
}