• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 1 of 1
    1. #1
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491

      D3D11 vTable indexes

      John Kittz
      Since I needed to hook more than a few functions this needed to be put together..

      Spoiler: Sauce

      Code:
      #ifndef DXGIINDEXES_H
      #define DXGIINDEXES_H
      
      
      
      /* IDXGISwapChain virtuals (SC_ prefix for swapchain or we'll redefine) */ 
      
      #define SC_QUERYINTERFACE 					0
      #define SC_ADDREF 							1
      #define SC_RELEASE 							2
      #define SC_SETPRIVATEDATA 					3
      #define SC_SETPRIVATEDATAINTERFACE 			4
      #define SC_GETPRIVATEDATA 					5
      #define SC_GETPARENT 						6
      #define SC_GETDEVICE 						7
      #define SC_PRESENT 							8
      #define SC_GETBUFFER 						9
      #define SC_SETFULLSCREENSTATE 				10
      #define SC_GETFULLSCREENSTATE 				11
      #define SC_GETDESC 							12
      #define SC_RESIZEBUFFERS 					13
      #define SC_RESIZETARGET 					14
      #define SC_GETCONTAININGOUTPUT 				15
      #define SC_GETFRAMESTATISTICS 				16
      #define SC_GETLASTPRESENTCOUNT 				17
      
      
      
      /* ID3D11DeviceContext virtuals */
      
      #define VSSETCONSTANTBUFFERS 				0
      #define PSSETSHADERRESOURCES				1
      #define PSSETSHADER							2
      #define PSSETSAMPLERS						3
      #define VSSETSHADER							4
      #define DRAWINDEXED							5
      #define DRAW								6
      #define MAP									7
      #define UNMAP								8
      #define PSSETCONSTANTBUFFERS				9
      #define IASETINPUTLAYOUT					10
      #define IASETVERTEXBUFFERS					11
      #define IASETINDEXBUFFER					12
      #define DRAWINDEXEDINSTANCED				13
      #define DRAWINSTANCED						14
      #define GSSETCONSTANTBUFFERS				15
      #define GSSETSHADER							16     
      #define IASETPRIMITIVETOPOLOGY				17
      #define VSSETSHADERRESOURCES				18
      #define VSSETSAMPLERS						19
      #define BEGIN								20
      #define END									21
      #define GETDATA								22
      #define SETPREDICATION						23
      #define GSSETSHADERRESOURCES				24
      #define GSSETSAMPLERS						25        
      #define OMSETRENDERTARGETS					26
      #define OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS			27
      #define	OMSETBLENDSTATE						28
      #define OMSETDEPTHSTENCILSTATE				29
      #define SOSETTARGETS						30
      #define DRAWAUTO							31
      #define DRAWINDEXEDINSTANCEDINDIRECT		32
      #define	DRAWINSTANCEDINDIRECT				33
      #define DISPATCH							34
      #define DISPATCHINDIRECT					35
      #define RSSETSTATE							36
      #define RSSETVIEWPORTS						37
      #define RSSETSCISSORRECTS					38
      #define COPYSUBRESOURCEREGION				39
      #define COPYRESOURCE						40 
      #define UPDATESUBRESOURCE					41
      #define COPYSTRUCTURECOUNT					42
      #define CLEARRENDERTARGETVIEW				43
      #define CLEARUNORDEREDACCESSVIEWUINT		44
      #define CLEARUNORDEREDACCESSVIEWFLOAT		45
      #define CLEARDEPTHSTENCILVIEW				46
      #define GENERATEMIPS						47
      #define SETSRESOURCEMINLOD					48
      #define GETRESOURCEMINLOD					49
      #define RESOLVESUBRESOURCE					50
      #define EXECUTECOMMANDLIST					51
      #define HSSETSHADERRESOURCES				52
      #define HSSETSHADER							53
      #define HSSETSAMPLERS						54     
      #define HSSETCONSTANTBUFFERS				55
      #define DSSETSHADERRESOURCES				56
      #define DSSETSHADER							57
      #define DSSETSAMPLERS						58
      #define DSSETCONSTANTBUFFERS				59
      #define CSSETSHADERRESOURCES				60
      #define CSSETUNORDEREDACCESSVIEWS			61
      #define CSSETSHADER							62
      #define CSSETSAMPLERS						63
      #define CSSETCONSTANTBUFFERS				64
      #define VSGETCONSTANTBUFFERS				65
      #define PSGETSHADERRESOURCES				66
      #define PSGETSHADER							67
      #define PSGETSAMPLERS						68
      #define VSGETSHADER							69   
      #define PSGETCONSTANTBUFFERS				70
      #define IAGETINPUTLAYOUT					71    
      #define IAGETVERTEXBUFFERS					72
      #define IAGETINDEXBUFFER					73
      #define GSGETCONSTANTBUFFERS				74
      #define GSGETSHADER							75
      #define IAGETPRIMITIVETOPOLOGY				76
      #define VSGETSHADERRESOURCES				77
      #define VSGETSAMPLERS						78
      #define GETPREDICATION						79
      #define GSGETSHADERRESOURCES				80
      #define GSGETSAMPLERS						81
      #define OMGETRENDERTARGETS					82
      #define OMGETRENDERTARGETSANDUNORDEREDACCESSVIEWS			83
      #define OMGETBLENDSTATE						84
      #define OMGETDEPTHSTENCILSTATE				85
      #define SOGETTARGETS						86
      #define RSGETSTATE							87
      #define RSGETVIEWPORTS						88
      #define RSGETSCISSORRECTS					89
      #define HSGETSHADERRESOURCES				90
      #define HSGETSHADER							91
      #define HSGETSAMPLERS						92
      #define HSGETCONSTANTBUFFERS				93
      #define DSGETSHADERRESOURCES				94
      #define DSGETSHADER							95
      #define DSGETSAMPLERS						96
      #define DSGETCONSTANTBUFFERS				97
      #define CSGETSHADERRESOURCES				98
      #define CSGETUNORDEREDACCESSVIEWS			99
      #define CSGETSHADER							100
      #define CSGETSAMPLERS						101
      #define CSGETCONSTANTBUFFERS				102
      #define CLEARSTATE							103
      #define FLUSH								104
      #define GETTYPE								105
      #define GETCONTEXTFLAGS						106
      #define FINISHCOMMANDLIST					107
      
      
      
      /* ID3D11Device virtuals */
      
      #define CREATEBUFFER						0
      #define CREATETEXTURE1D						1
      #define CREATETEXTURE2D						2
      #define CREATETEXTURE3D						3
      #define CREATESHADERRESOURCEVIEW			4
      #define CREATEUNORDEREDACCESSVIEW			5
      #define CREATERENDERTARGETVIEW				6
      #define CREATEDEPTHSTENCILVIEW				7
      #define CREATEINPUTLAYOUT					8
      #define CREATEVERTEXSHADER					9
      #define CREATEGEOMETRYSHADER				10
      #define CREATEGEOMETRYSHADERWITHSREAMOUTPUT				11
      #define CREATEPIXELSHADER					12
      #define CREATEHULLSHADER					13
      #define CREATEDOMAINSHADER					14
      #define CREATECOMPUTESHADER					15
      #define CREATECLASSLINKAGE					16
      #define CREATEBLENDSTATE					17
      #define CREATEDEPTHSTENCILSTATE				18
      #define CREATERASTERIZERSTATE				19
      #define CREATESAMPLERSTATE					20
      #define CREATEQUERY							21
      #define CREATEPREDICATE						22
      #define CREATECOUNTER						23
      #define CREATEDERERREDCONTEXT				24
      #define OPENSHADERRESOURCE					25
      #define CHECKFORMATSUPPORT					26
      #define CHECKMULTISAMPLEQUALITYLEVELS		27
      #define CHECKCOUNTERINFO					28
      #define CHECKCOUNTER						29
      #define CHECKFEATURESUPPORT					30
      #define GETPRIVATEDATA						31
      #define SETPRIVATEDATA						32
      #define SETPRIVATEDATAINTERFACE				33
      #define GETFEATURELEVEL						34
      #define GETCREATIONFLAGS					35
      #define GETDEVICEREMOVEDREASON				36  
      #define GETIMMEDIATECONTEXT					37
      #define SETEXCEPTIONMODE					38
      #define GETEXCEPTIONMODE					39     
              
        
      
      #endif


      Has indexes for IDXGISwapChain, ID3D11DeviceContext and ID3D11Device virtuals..
      Last edited by c5; 08-30-2013 at 03:00 PM.
      D3D11 vTable indexes

    2. Thanks Ronbledore thanked for this post

    Similar Game Hacker Threads

    1. [Tutorial] How to dump vtable
      By Lolita1 in forum Game Hacking Tutorials
      Replies: 28
      Last Post: 02-19-2017, 04:12 PM
    2. [Release] D3D11 Model Logger
      By rapt0r in forum Direct-X, OpenGL
      Replies: 14
      Last Post: 10-10-2016, 02:08 PM
    3. [Source Code] AssaultCube Weapon VTable
      By Solaire in forum Assault Cube Hacks
      Replies: 2
      Last Post: 06-09-2015, 08:51 PM
    4. CSGO VTable Hook
      By gnuzim in forum CS:GO Hacks
      Replies: 2
      Last Post: 02-11-2014, 03:22 AM

    Tags for this Thread