google-site-verification: googlebaca44933768a824.html [OB] GetDirect3DDevice9 - Old Royal Hack Forum

Announcement

Collapse
No announcement yet.

[OB] GetDirect3DDevice9

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [OB] GetDirect3DDevice9

    Code:
    IDirect3DDevice9* GetD3DDevice9( void )
    {
    	IDirect3DDevice9* pDirect3DDevice9;
    
    	static DWORD dwGetDirect3DDevice9;
    	if( dwGetDirect3DDevice9 == NULL )
    	{
    		HMODULE shaderapidx9 = NULL;
    		shaderapidx9 = GetModuleHandle( "shaderapidx9.dll" );
    
    		if( shaderapidx9 == NULL )
    			return NULL;
    
    		DWORD dwGetDirect3DDevice9Call = NULL;
    
    		dwGetDirect3DDevice9Call = gMem.FindPattern( (DWORD)shaderapidx9, 0x300000, 
    			(PBYTE)"\xE8\x2A\x64\x00\x00\x8B\xF0\x83\x7E\x04\x00\x74\x37\x83\x7E\x10\x02\x73\x07\x8B\xCE\xE8\x45\xD8\xFF\xFF",
    			"x????xxxx????x?xx??x?xxx????" );
    
    		dwGetDirect3DDevice9 = gMem.GetCallAddress( (PDWORD)dwGetDirect3DDevice9Call );
    
    		if( dwGetDirect3DDevice9 == NULL )
    			return NULL;
    	}
    
    	__asm
    	{
    		call dwGetDirect3DDevice9
    		MOV EAX,DWORD PTR DS:[EAX]
    		MOV pDirect3DDevice9, EAX
    	}
    
    	return pDirect3DDevice9;
    }
    :smiley_674:
    I 0x90 you!

    #2
    nice heh.
    :motion:






    gibs coins @
    1KatP9B8KG7mvcoFhdLGua1isG88nYZE8C

    Comment


      #3
      this code looks quite interesting :O
      :smiley_880:

      Originally posted by Dead
      8 digit steam acount willing to trade for any steam acount that everey one knows as a hacker lmao or BANNED ON ALOT OF SERVERS.

      made by kimmi

      Comment


        #4
        Re: [OB] GetDirect3DDevice9

        just incase sbdy needs this again.

        DWORD pDevice = *(DWORD*)((DWORD)(GetModuleHandle("shaderapidx9.dll"))+0x1617F4);

        i search a good source code for Dods with aimbot and other stuff i know this is the same engine as counter strike source but css hacks are not work in dods.

        Comment

        Working...
        X