Jump to content

Question

Posted (edited)

I need a little help with RGuard anyone know how fix dsetup.dll to interlude 746 client ?

unsigned int GetSendPacketAddress(void)
{
	HMODULE hEngine = LoadLibraryA("engine.dll");

	unsigned int startVMT = (unsigned int) hEngine + 0x51F658;
	unsigned int AddNetworkQueue = (unsigned int) GetProcAddress(hEngine, "?AddNetworkQueue@UNetworkHandler@@UAEHPAUNetworkPacket@@@Z");
	unsigned int currVMT = startVMT;

	if (AddNetworkQueue == 0)
	{
		return 0;
	}

	while (true)
	{
		if (*(unsigned int*) currVMT == AddNetworkQueue)
		{
			return *(unsigned int*) (currVMT - 0xA4);
		}

		currVMT++;
		if (currVMT - startVMT > 10000)
		{
			return 0;
		}
	}
	return 0;
}

I try to use PeEditor and i was looking for EntryPoint but new + doesent work anyone can give me good + for interlude ?

for epilog 0x4E994C;
for h5 0x51F658;

Edited by edawid

3 answers to this question

Recommended Posts

  • 0
Posted
unsigned int GetSendPacketAddress(void)

{

HMODULE hEngine = LoadLibraryA("engine.dll");

unsigned int UNHandlerTable = (unsigned int)GetProcAddress(hEngine, "??_7UNetworkHandler@@6BUObject@@@");

return (UNHandlerTable + 0x48) + 0x68;

}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...