26 lines
435 B
C
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
|
||
|
}
|
||
|
}
|