Welcome, Guest.

Author Topic: [ Reversing ] D3D9 Device Signatures for Source Engine Games  (Read 947 times)

Offline KittoniuM

  • Administrator
  • *
  • Posts: 1272
    • View Profile
D3D9 Device Signatures for Source Engine Games
« on: August 21, 2018, 01:48:13 PM »
here are all the signatures I found for the DX9 device in shaderapidx9.dll
should work for most if not all sourrce engine games >:D

Code: [Select]
static DWORD FuncAddrGmod = FindSignature("shaderapidx9.dll", "55 8B EC 51 56 8B F1 83 7E 24 00 0F 84 ? ? ? ? 83 3E 00 75 36 8B 0D ? ? ? ? 8B 01 8B 50 08 53 68 ? ? ? ? FF D2 8A D8 A1 ? ? ? ?");
if (FuncAddrGmod)
D3D_VT = **(DWORD***)(FuncAddrGmod + 0x2B + 0x1);

if (!IsValidPointer(D3D_VT))
{
static DWORD FuncAddrTf2 = FindSignature("shaderapidx9.dll", "55 8B EC 51 56 8B F1 83 7E 0C 00 0F 84 ? ? ? ? 83 3E 00 53 57 75 32 8B 0D ? ? ? ? 68 ? ? ? ? 8B 01 8B 40 08 FF D0 FF 35 ? ? ? ?");
if (FuncAddrTf2)
D3D_VT = **(DWORD***)(FuncAddrTf2 + 0x2A + 0x2);

if (!IsValidPointer(D3D_VT))
{
static DWORD FuncAddrCsgo = FindSignature("shaderapidx9.dll", "83 3D ? ? ? ? ? 56 8B F1 74 44");
if (FuncAddrCsgo)
D3D_VT = **(DWORD***)(FuncAddrCsgo + 0x2);

if (!IsValidPointer(D3D_VT))
{
static DWORD FuncAddrCsgoAlternate = FindSignature("shaderapidx9.dll", "B9 ? ? ? ? E8 ? ? ? ? A1 ? ? ? ? 8D 55 FC 52 56 50 8B 08 FF 91 ? ? ? ? 85 C0 78 D8 FF 05 ? ? ? ?");
if (FuncAddrCsgoAlternate)
D3D_VT = **(DWORD***)(FuncAddrCsgoAlternate + 0x2);

if (!IsValidPointer(D3D_VT))
{
static DWORD FuncGmodNew = FindSignature("shaderapidx9.dll", "FF 35 ? ? ? ? 8B CE 8A D8 E8 ? ? ? ? 84 DB 75 0D");
if (FuncGmodNew)
D3D_VT = **(DWORD***)(FuncGmodNew + 0x2);

if (!IsValidPointer(D3D_VT))
{
static DWORD FuncL4D = FindSignature("shaderapidx9.dll", "B9 ? ? ? ? E8 ? ? ? ? 29 3D ? ? ? ?");
if (FuncL4D)
D3D_VT = **(DWORD***)(FuncL4D + 1);
}
}
}
}
}


Total Registered Members:





2017-2023 BigPackets. All rights reserved. All other trademarks, logos and copyrights are the property of their respective owners. This site is not associated with any company in any way.