samp-re/datastructures.c

29 lines
372 B
C
Raw Normal View History

/* vim: set filetype=c ts=8 noexpandtab: */
#include "common.h"
__declspec(naked)
void __stdcall __RangeList__ctor(struct CRangeList *this)
{
_asm {
pop eax
pop ecx
push eax
mov eax, 0x45F2D0
jmp eax
}
}
__declspec(naked)
void __stdcall __RangeList__dtor(struct CRangeList *this)
{
_asm {
pop eax
pop ecx
push eax
mov eax, 0x45F300
jmp eax
}
}