Skip to content

Need help with Fguard conversion

Featured Replies

Hello. I have the source of Fguard and want to compile dsetup.dll but my chronicle is Gracia final and i need to change the entry point for Engine.dll anyone experienced enough to help me out? thanks in advance i'll leave the code bellow.

 

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;
}

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.