Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
458 B
2
Indexable
Never
__declspec(naked) void SndFncWrapper(BYTE* Packets, DWORD Size2)
{
	__asm
	{
		push ebp
		mov ebp, esp
		pushad
		mov edx, Size2
		push edx
		push Packets
		mov edx, [adressSndFnc]
		call edx
		cmp al, 1
		je notSend
		popad
		pop ebp
		push - 1
		push 0x75A6F700 //      0x00B6C869                    
		mov edx, KO_SND_FNC
		add edx, 5
		jmp edx
		notSend :
		popad
			push ebp
			mov ebp,esp
			push -1
			pop 
			ret 8

	}
}