forked from dastgirp/Zeus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathROCodeBind.h
More file actions
16 lines (13 loc) · 714 Bytes
/
ROCodeBind.h
File metadata and controls
16 lines (13 loc) · 714 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once
// int __thiscall CRagConnection_SendPacket(CRagConnection *this, size_t a2, void *a3)
typedef int(__thiscall* originalSendPacket)(void* CragConnection, size_t size, char* buffer);
originalSendPacket SendPacket;
// int __thiscall CRagConnection_RecvPacket(CRagConnection* this, void* a2, int a3)
typedef int(__thiscall* oiginalRecvPacket)(void* CragConnection, char* buffer, int size);
oiginalRecvPacket RecvPacket;
// int __thiscall CRagConnection_GetPacketSize(int this)
typedef int(__thiscall* originalGetPacketSize)(int packet_id);
originalGetPacketSize getPacketSize;
// void __stdcall CRagConnection_InstanceR()
typedef void* (__stdcall* originalInstanceR)(void);
originalInstanceR instanceR;