D3D HLEDataBase Cleanup
This commit is contained in:
parent
9ef778ad43
commit
35b77ea914
|
@ -1105,26 +1105,6 @@ OOVPA_NO_XREF(D3DDevice_IsBusy, 3911, 11)
|
||||||
{ 0x33, 0xC3 },
|
{ 0x33, 0xC3 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_IsBusy
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_IsBusy, 3911, 8)
|
|
||||||
|
|
||||||
{ 0x0B, 0x8B },
|
|
||||||
{ 0x0C, 0x90 },
|
|
||||||
{ 0x0D, 0x04 },
|
|
||||||
{ 0x0E, 0x04 },
|
|
||||||
|
|
||||||
{ 0x1E, 0x74 },
|
|
||||||
{ 0x1F, 0x06 },
|
|
||||||
|
|
||||||
{ 0x25, 0xC3 },
|
|
||||||
|
|
||||||
{ 0x33, 0xC3 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_GetDeviceCaps
|
// * D3DDevice_GetDeviceCaps
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1220,33 +1200,6 @@ OOVPA_NO_XREF(D3DDevice_EndVisibilityTest, 3911, 21)
|
||||||
{ 0x37, 0x00 },
|
{ 0x37, 0x00 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_EndVisibilityTest
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_EndVisibilityTest, 3911, 13)
|
|
||||||
|
|
||||||
// D3DDevice_EndVisibilityTest+0x11 : mov eax, 0x8007000E
|
|
||||||
{ 0x11, 0xB8 },
|
|
||||||
{ 0x12, 0x0E },
|
|
||||||
{ 0x13, 0x00 },
|
|
||||||
{ 0x14, 0x07 },
|
|
||||||
{ 0x15, 0x80 },
|
|
||||||
|
|
||||||
// D3DDevice_EndVisibilityTest+0x2D : mov dword ptr [eax], 0x000817CC
|
|
||||||
{ 0x2D, 0xC7 },
|
|
||||||
{ 0x2E, 0x00 },
|
|
||||||
{ 0x2F, 0xCC },
|
|
||||||
{ 0x30, 0x17 },
|
|
||||||
{ 0x31, 0x08 },
|
|
||||||
|
|
||||||
// D3DDevice_EndVisibilityTest+0x43 : add eax, 0x0C
|
|
||||||
{ 0x43, 0x83 },
|
|
||||||
{ 0x44, 0xC0 },
|
|
||||||
{ 0x45, 0x0C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_GetVisibilityTestResult
|
// * D3DDevice_GetVisibilityTestResult
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -2791,33 +2744,6 @@ OOVPA_XREF(D3DVolumeTexture_LockBox, 3911, 1+1,
|
||||||
{ 0x00, 0xE9 },
|
{ 0x00, 0xE9 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // only perform a jmp to Lock3DSurface
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DVolumeTexture_LockBox
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DVolumeTexture_LockBox, 3911, 11)
|
|
||||||
|
|
||||||
// D3DVolumeTexture_LockBox+0x08 : test bl, 0x20
|
|
||||||
{ 0x08, 0xF6 },
|
|
||||||
{ 0x09, 0xC3 },
|
|
||||||
{ 0x0A, 0x20 },
|
|
||||||
|
|
||||||
// D3DVolumeTexture_LockBox+0x40 : test bl, 0x40
|
|
||||||
{ 0x40, 0xF6 },
|
|
||||||
{ 0x41, 0xC3 },
|
|
||||||
{ 0x42, 0x40 },
|
|
||||||
|
|
||||||
// D3DVolumeTexture_LockBox+0x83 : lea ecx, [eax+edx]
|
|
||||||
{ 0x83, 0x8D },
|
|
||||||
{ 0x84, 0x0C },
|
|
||||||
{ 0x85, 0x10 },
|
|
||||||
|
|
||||||
// D3DVolumeTexture_LockBox+0x99 : retn 0x14
|
|
||||||
{ 0x99, 0xC2 },
|
|
||||||
{ 0x9A, 0x14 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DCubeTexture_LockRect
|
// * D3DCubeTexture_LockRect
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -2831,33 +2757,6 @@ OOVPA_XREF(D3DCubeTexture_LockRect, 3911, 1+1,
|
||||||
{ 0x00, 0xE9 },
|
{ 0x00, 0xE9 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // only perform a jmp to Lock2DSurface
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DCubeTexture_LockRect
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DCubeTexture_LockRect, 3911, 11)
|
|
||||||
|
|
||||||
// D3DCubeTexture_LockRect+0x06 : test bl, 0x20
|
|
||||||
{ 0x06, 0xF6 },
|
|
||||||
{ 0x07, 0xC3 },
|
|
||||||
{ 0x08, 0x20 },
|
|
||||||
|
|
||||||
// D3DCubeTexture_LockRect+0x3F : test bl, 0x40
|
|
||||||
{ 0x3F, 0xF6 },
|
|
||||||
{ 0x40, 0xC3 },
|
|
||||||
{ 0x41, 0x40 },
|
|
||||||
|
|
||||||
// D3DCubeTexture_LockRect+0x71 : shr edx, 0x03
|
|
||||||
{ 0x71, 0xC1 },
|
|
||||||
{ 0x72, 0xEA },
|
|
||||||
{ 0x73, 0x03 },
|
|
||||||
|
|
||||||
// D3DCubeTexture_LockRect+0x98 : retn 0x18
|
|
||||||
{ 0x98, 0xC2 },
|
|
||||||
{ 0x99, 0x18 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DTexture_GetSurfaceLevel
|
// * D3DTexture_GetSurfaceLevel
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -3062,32 +2961,6 @@ OOVPA_NO_XREF(D3DDevice_GetViewport, 3911, 16)
|
||||||
{ 0x1C, 0x00 },
|
{ 0x1C, 0x00 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetViewport
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetViewport, 3911, 10)
|
|
||||||
|
|
||||||
// D3DDevice_GetViewport+0x05 : push esi; push edi
|
|
||||||
{ 0x05, 0x56 },
|
|
||||||
{ 0x06, 0x57 },
|
|
||||||
|
|
||||||
// D3DDevice_GetViewport+0x0B : lea esi, [eax+0x0B00]
|
|
||||||
{ 0x0B, 0x8D },
|
|
||||||
{ 0x0C, 0xB0 },
|
|
||||||
{ 0x0D, 0x00 },
|
|
||||||
{ 0x0E, 0x0B },
|
|
||||||
|
|
||||||
// D3DDevice_GetViewport+0x11 : mov ecx, 6
|
|
||||||
{ 0x11, 0xB9 },
|
|
||||||
{ 0x12, 0x06 },
|
|
||||||
|
|
||||||
// D3DDevice_GetViewport+0x1A : retn 0x04
|
|
||||||
{ 0x1A, 0xC2 },
|
|
||||||
{ 0x1B, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_GetDisplayFieldStatus
|
// * D3DDevice_GetDisplayFieldStatus
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -3109,36 +2982,6 @@ OOVPA_NO_XREF(D3DDevice_GetDisplayFieldStatus, 3911, 12)
|
||||||
{ 0x1C, 0x74 },
|
{ 0x1C, 0x74 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetDisplayFieldStatus
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetDisplayFieldStatus, 3911, 14)
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayFieldStatus+0x05 : mov edx, [eax+0x2B28]
|
|
||||||
{ 0x05, 0x8B },
|
|
||||||
{ 0x06, 0x90 },
|
|
||||||
{ 0x07, 0x28 },
|
|
||||||
{ 0x08, 0x2B },
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayFieldStatus+0x12 : test [eax+0x2510], 0x1200000
|
|
||||||
{ 0x12, 0xF7 },
|
|
||||||
{ 0x13, 0x80 },
|
|
||||||
{ 0x14, 0x10 },
|
|
||||||
{ 0x15, 0x25 },
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayFieldStatus+0x1E : mov dx, 0x80C0
|
|
||||||
{ 0x1E, 0x66 },
|
|
||||||
{ 0x1F, 0xBA },
|
|
||||||
{ 0x20, 0xC0 },
|
|
||||||
{ 0x21, 0x80 },
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayFieldStatus+0x3C : retn 4
|
|
||||||
{ 0x3C, 0xC2 },
|
|
||||||
{ 0x3D, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderState_MultiSampleAntiAlias
|
// * D3DDevice_SetRenderState_MultiSampleAntiAlias
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -3577,23 +3420,6 @@ OOVPA_NO_XREF(D3DDevice_DrawVertices, 3911, 17)
|
||||||
{ 0x20, 0x50 },
|
{ 0x20, 0x50 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_DrawVertices
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_DrawVertices, 3911, 8)
|
|
||||||
|
|
||||||
{ 0x12, 0x8B },
|
|
||||||
{ 0x27, 0x8B },
|
|
||||||
{ 0x3A, 0x89 },
|
|
||||||
{ 0x4E, 0xFF },
|
|
||||||
{ 0x62, 0x81 },
|
|
||||||
{ 0x76, 0x00 },
|
|
||||||
{ 0x8A, 0x17 },
|
|
||||||
{ 0x9E, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_GetDisplayMode
|
// * D3DDevice_GetDisplayMode
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -3686,21 +3512,6 @@ OOVPA_NO_XREF(D3D_AllocContiguousMemory, 3911, 14)
|
||||||
{ 0x0D, 0x50 },
|
{ 0x0D, 0x50 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3D_AllocContiguousMemory
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3D_AllocContiguousMemory, 3911, 6)
|
|
||||||
|
|
||||||
{ 0x02, 0x24 },
|
|
||||||
{ 0x06, 0x24 },
|
|
||||||
{ 0x0A, 0x04 },
|
|
||||||
{ 0x0E, 0x6A },
|
|
||||||
{ 0x16, 0xC2 },
|
|
||||||
{ 0x17, 0x08 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderState_Deferred
|
// * D3DDevice_SetRenderState_Deferred
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -3774,23 +3585,6 @@ OOVPA_XREF(D3DDevice_SetLight, 3911, 15,
|
||||||
{ 0x63, 0xF3 },
|
{ 0x63, 0xF3 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetLight
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetLight, 3911, 8)
|
|
||||||
|
|
||||||
{ 0x1D, 0x0F },
|
|
||||||
{ 0x3C, 0xD8 },
|
|
||||||
{ 0x5B, 0x00 },
|
|
||||||
{ 0x7A, 0x89 },
|
|
||||||
{ 0x99, 0xA5 },
|
|
||||||
{ 0xB8, 0xC1 },
|
|
||||||
{ 0xD7, 0x00 },
|
|
||||||
{ 0xF6, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_GetProjectionViewportMatrix
|
// * D3DDevice_GetProjectionViewportMatrix
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -3830,22 +3624,6 @@ OOVPA_NO_XREF(D3DDevice_GetTile, 3911, 16)
|
||||||
{ 0x24, 0x08 },
|
{ 0x24, 0x08 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetTile
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetTile, 3911, 7)
|
|
||||||
|
|
||||||
{ 0x03, 0x04 },
|
|
||||||
{ 0x0A, 0x56 },
|
|
||||||
{ 0x0D, 0x7C },
|
|
||||||
{ 0x12, 0x40 },
|
|
||||||
{ 0x17, 0x21 },
|
|
||||||
{ 0x1C, 0x00 },
|
|
||||||
{ 0x21, 0x5F },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_ApplyStateBlock
|
// * D3DDevice_ApplyStateBlock
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -3961,22 +3739,6 @@ OOVPA_NO_XREF(D3DDevice_SetPixelShaderProgram, 3911, 19)
|
||||||
{ 0x3A, 0xE9 },
|
{ 0x3A, 0xE9 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetPixelShaderProgram
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetPixelShaderProgram, 3911, 7)
|
|
||||||
|
|
||||||
{ 0x06, 0xA1 },
|
|
||||||
{ 0x0E, 0x88 },
|
|
||||||
{ 0x16, 0x00 },
|
|
||||||
{ 0x1E, 0x00 },
|
|
||||||
{ 0x26, 0x04 },
|
|
||||||
{ 0x32, 0xC7 },
|
|
||||||
{ 0x36, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3D_KickOffAndWaitForIdle
|
// * D3D_KickOffAndWaitForIdle
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -4048,23 +3810,6 @@ OOVPA_NO_XREF(D3DDevice_SetScissors, 3911, 17) // Up to 5233
|
||||||
{ 0x53, 0x24 },
|
{ 0x53, 0x24 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetScissors
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetScissors, 3911, 8)
|
|
||||||
|
|
||||||
{ 0x1D, 0x08 },
|
|
||||||
{ 0x3C, 0x24 },
|
|
||||||
{ 0x5F, 0x8B },
|
|
||||||
{ 0x7A, 0x83 },
|
|
||||||
{ 0x99, 0xE0 },
|
|
||||||
{ 0xBA, 0xD9 },
|
|
||||||
{ 0xD9, 0x8B },
|
|
||||||
{ 0xF6, 0xDB },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetVertexShaderInput
|
// * D3DDevice_SetVertexShaderInput
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -4173,22 +3918,6 @@ OOVPA_NO_XREF(D3DDevice_EndPushBuffer, 3911, 13) // Up to 5849
|
||||||
{ 0x6E, 0x86 },
|
{ 0x6E, 0x86 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_EndPushBuffer
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_EndPushBuffer, 3911, 7)
|
|
||||||
|
|
||||||
{ 0x11, 0x8D },
|
|
||||||
{ 0x24, 0x8B },
|
|
||||||
{ 0x37, 0xFC },
|
|
||||||
{ 0x4A, 0xFF },
|
|
||||||
{ 0x5D, 0xF7 },
|
|
||||||
{ 0x70, 0x03 },
|
|
||||||
{ 0x83, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderState_RopZCmpAlwaysRead
|
// * D3DDevice_SetRenderState_RopZCmpAlwaysRead
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -4360,22 +4089,6 @@ OOVPA_NO_XREF(D3DDevice_LoadVertexShaderProgram, 3911, 16)
|
||||||
{ 0x17, 0xC1 },
|
{ 0x17, 0xC1 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_LoadVertexShaderProgram
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_LoadVertexShaderProgram, 3911, 7)
|
|
||||||
|
|
||||||
{ 0x0B, 0x2D },
|
|
||||||
{ 0x18, 0x10 },
|
|
||||||
{ 0x25, 0x00 },
|
|
||||||
{ 0x32, 0xA5 },
|
|
||||||
{ 0x3F, 0x8B },
|
|
||||||
{ 0x4C, 0x00 },
|
|
||||||
{ 0x59, 0xE8 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_DeleteVertexShader
|
// * D3DDevice_DeleteVertexShader
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -4434,22 +4147,6 @@ OOVPA_NO_XREF(D3DDevice_Reset, 3911, 10)
|
||||||
{ 0x38, 0x10 },
|
{ 0x38, 0x10 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_Reset
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_Reset, 3911, 7)
|
|
||||||
|
|
||||||
{ 0x15, 0x8B },
|
|
||||||
{ 0x2C, 0x8B },
|
|
||||||
{ 0x43, 0x8B },
|
|
||||||
{ 0x5A, 0x08 },
|
|
||||||
{ 0x74, 0x8B },
|
|
||||||
{ 0x88, 0x50 },
|
|
||||||
{ 0x9F, 0x03 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3D_GetAdapterIdentifier
|
// * D3D_GetAdapterIdentifier
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -4775,23 +4472,6 @@ OOVPA_NO_XREF(D3DDevice_GetVertexShaderInput, 3911, 17)
|
||||||
{ 0x35, 0x0C },
|
{ 0x35, 0x0C },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetVertexShaderInput
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetVertexShaderInput, 3911, 8)
|
|
||||||
|
|
||||||
{ 0x00, 0x8B },
|
|
||||||
{ 0x03, 0x08 },
|
|
||||||
{ 0x04, 0x85 },
|
|
||||||
{ 0x05, 0xC9 },
|
|
||||||
{ 0x06, 0xA1 },
|
|
||||||
{ 0x10, 0x07 },
|
|
||||||
{ 0x18, 0x04 },
|
|
||||||
{ 0x1F, 0x20 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_RunVertexStateShader
|
// * D3DDevice_RunVertexStateShader
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -4847,24 +4527,6 @@ OOVPA_NO_XREF(D3DDevice_GetVertexShaderDeclaration, 3911, 15)
|
||||||
{ 0x40, 0x33 },
|
{ 0x40, 0x33 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetVertexShaderDeclaration
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetVertexShaderDeclaration, 3911, 9)
|
|
||||||
|
|
||||||
{ 0x00F, 0x8B },
|
|
||||||
{ 0x010, 0x4C },
|
|
||||||
{ 0x011, 0x24 },
|
|
||||||
{ 0x012, 0x1C },
|
|
||||||
{ 0x013, 0xC7 },
|
|
||||||
{ 0x014, 0x01 },
|
|
||||||
{ 0x015, 0x00 },
|
|
||||||
{ 0x11F, 0x83 },
|
|
||||||
{ 0x129, 0x0F },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_GetVertexShaderFunction
|
// * D3DDevice_GetVertexShaderFunction
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -69,6 +69,7 @@ OOVPA_END;
|
||||||
// * CMiniport::CreateCtxDmaObject
|
// * CMiniport::CreateCtxDmaObject
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
OOVPA_NO_XREF(CMiniport_CreateCtxDmaObject, 4034, 32) // Also for 4361, 4627, 5344, 5558, 5659, 5788, 5849, 5933
|
OOVPA_NO_XREF(CMiniport_CreateCtxDmaObject, 4034, 32) // Also for 4361, 4627, 5344, 5558, 5659, 5788, 5849, 5933
|
||||||
|
|
||||||
{ 0x00, 0x55 },
|
{ 0x00, 0x55 },
|
||||||
{ 0x01, 0x8B },
|
{ 0x01, 0x8B },
|
||||||
{ 0x02, 0xEC },
|
{ 0x02, 0xEC },
|
||||||
|
@ -103,63 +104,6 @@ OOVPA_NO_XREF(CMiniport_CreateCtxDmaObject, 4034, 32) // Also for 4361, 4627, 53
|
||||||
{ 0x1F, 0x3A },
|
{ 0x1F, 0x3A },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetGammaRamp
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetGammaRamp, 4034, 7)
|
|
||||||
{ 0x05, 0x8B },
|
|
||||||
{ 0x0A, 0x00 },
|
|
||||||
{ 0x10, 0xE1 },
|
|
||||||
{ 0x16, 0x0C },
|
|
||||||
{ 0x1C, 0x00 },
|
|
||||||
{ 0x22, 0x00 },
|
|
||||||
{ 0x28, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // Moved to 3911
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetCreationParameters
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetCreationParameters, 4034, 7)
|
|
||||||
|
|
||||||
{ 0x06, 0x8B },
|
|
||||||
{ 0x0E, 0x8B },
|
|
||||||
{ 0x16, 0x4E },
|
|
||||||
{ 0x1E, 0x83 },
|
|
||||||
{ 0x26, 0x00 },
|
|
||||||
{ 0x2E, 0x5E },
|
|
||||||
{ 0x36, 0xC9 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetViewport
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetViewport, 4034, 10)
|
|
||||||
|
|
||||||
// D3DDevice_GetViewport+0x05 : push esi; push edi
|
|
||||||
{ 0x05, 0x56 },
|
|
||||||
{ 0x06, 0x57 },
|
|
||||||
|
|
||||||
// D3DDevice_GetViewport+0x0B : lea esi, [eax+0x0B50]
|
|
||||||
{ 0x0B, 0x8D },
|
|
||||||
{ 0x0C, 0xB0 },
|
|
||||||
{ 0x0D, 0x50 },
|
|
||||||
{ 0x0E, 0x0B },
|
|
||||||
|
|
||||||
// D3DDevice_GetViewport+0x11 : mov ecx, 6
|
|
||||||
{ 0x11, 0xB9 },
|
|
||||||
{ 0x12, 0x06 },
|
|
||||||
|
|
||||||
// D3DDevice_GetViewport+0x1A : retn 0x04
|
|
||||||
{ 0x1A, 0xC2 },
|
|
||||||
{ 0x1B, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetViewport
|
// * D3DDevice_SetViewport
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -262,22 +206,6 @@ OOVPA_NO_XREF(D3DDevice_BeginVisibilityTest, 4034, 7)
|
||||||
{ 0x28, 0x06 },
|
{ 0x28, 0x06 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_EndVisibilityTest
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_EndVisibilityTest, 4034, 7)
|
|
||||||
|
|
||||||
{ 0x0B, 0x8B },
|
|
||||||
{ 0x16, 0x5E },
|
|
||||||
{ 0x22, 0x07 },
|
|
||||||
{ 0x2E, 0x00 },
|
|
||||||
{ 0x3A, 0x81 },
|
|
||||||
{ 0x46, 0x89 },
|
|
||||||
{ 0x55, 0x5F },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_CopyRects
|
// * D3DDevice_CopyRects
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -293,22 +221,6 @@ OOVPA_NO_XREF(D3DDevice_CopyRects, 4034, 8)
|
||||||
{ 0xFE, 0x14 },
|
{ 0xFE, 0x14 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_DeletePatch
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_DeletePatch, 4034, 7)
|
|
||||||
|
|
||||||
{ 0x05, 0x0D },
|
|
||||||
{ 0x0C, 0xA1 },
|
|
||||||
{ 0x13, 0x34 },
|
|
||||||
{ 0x1A, 0x4E },
|
|
||||||
{ 0x21, 0x00 },
|
|
||||||
{ 0x2A, 0x56 },
|
|
||||||
{ 0x30, 0x5E },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_DrawIndexedVertices
|
// * D3DDevice_DrawIndexedVertices
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -344,43 +256,12 @@ OOVPA_XREF(D3DDevice_SetStreamSource, 4034, 1+14, // 1+28
|
||||||
|
|
||||||
XREF_ENTRY( 0x22, XREF_G_STREAM ), // Derived
|
XREF_ENTRY( 0x22, XREF_G_STREAM ), // Derived
|
||||||
|
|
||||||
#if 0
|
|
||||||
{ 0x00, 0x8B },
|
|
||||||
{ 0x01, 0x0D },
|
|
||||||
|
|
||||||
{ 0x06, 0x56 },
|
|
||||||
{ 0x07, 0x57 },
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// D3DDevice_SetStreamSource+0x08 : mov edi, [esp+8+0x04]
|
// D3DDevice_SetStreamSource+0x08 : mov edi, [esp+8+0x04]
|
||||||
{ 0x08, 0x8B },
|
{ 0x08, 0x8B },
|
||||||
{ 0x09, 0x7C },
|
{ 0x09, 0x7C },
|
||||||
{ 0x0A, 0x24 },
|
{ 0x0A, 0x24 },
|
||||||
{ 0x0B, 0x10 },
|
{ 0x0B, 0x10 },
|
||||||
|
|
||||||
#if 0
|
|
||||||
{ 0x0C, 0x85 },
|
|
||||||
{ 0x0D, 0xFF },
|
|
||||||
{ 0x0E, 0x74 },
|
|
||||||
{ 0x0F, 0x06 },
|
|
||||||
{ 0x10, 0x81 },
|
|
||||||
{ 0x11, 0x07 },
|
|
||||||
{ 0x12, 0x00 },
|
|
||||||
{ 0x13, 0x00 },
|
|
||||||
{ 0x14, 0x08 },
|
|
||||||
{ 0x15, 0x00 },
|
|
||||||
{ 0x16, 0x8B },
|
|
||||||
{ 0x17, 0x44 },
|
|
||||||
{ 0x18, 0x24 },
|
|
||||||
{ 0x19, 0x0C },
|
|
||||||
{ 0x1A, 0x8D },
|
|
||||||
{ 0x1B, 0x34 },
|
|
||||||
{ 0x1C, 0x40 },
|
|
||||||
{ 0x1D, 0xC1 },
|
|
||||||
{ 0x1E, 0xE6 },
|
|
||||||
{ 0x1F, 0x02 },
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// D3DDevice_SetStreamSource+0x28 : jz +0x26
|
// D3DDevice_SetStreamSource+0x28 : jz +0x26
|
||||||
{ 0x28, 0x74 },
|
{ 0x28, 0x74 },
|
||||||
{ 0x29, 0x26 },
|
{ 0x29, 0x26 },
|
||||||
|
@ -430,34 +311,6 @@ OOVPA_NO_XREF(D3DDevice_SetTextureState_ColorKeyColor, 4034, 8)
|
||||||
{ 0x36, 0xC2 },
|
{ 0x36, 0xC2 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_DrawVertices
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_DrawVertices, 4034, 12)
|
|
||||||
|
|
||||||
// D3DDevice_DrawVertices+0x12 : mov edi, [esp+0x0C+0x0C]
|
|
||||||
{ 0x12, 0x8B },
|
|
||||||
{ 0x13, 0x7C },
|
|
||||||
{ 0x14, 0x24 },
|
|
||||||
{ 0x15, 0x18 },
|
|
||||||
|
|
||||||
// D3DDevice_DrawVertices+0x16 : lea esi, [edi-1]
|
|
||||||
{ 0x16, 0x8D },
|
|
||||||
{ 0x17, 0x77 },
|
|
||||||
{ 0x18, 0xFF },
|
|
||||||
|
|
||||||
// D3DDevice_DrawVertices+0x7E : shl edi, 0x18
|
|
||||||
{ 0x7E, 0xC1 },
|
|
||||||
{ 0x7F, 0xE7 },
|
|
||||||
{ 0x80, 0x18 },
|
|
||||||
|
|
||||||
// D3DDevice_DrawVertices+0x9C : retn 0x0C
|
|
||||||
{ 0x9C, 0xC2 },
|
|
||||||
{ 0x9D, 0x0C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_LoadVertexShader
|
// * D3DDevice_LoadVertexShader
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -480,23 +333,6 @@ OOVPA_NO_XREF(D3DDevice_LoadVertexShader, 4034, 10)
|
||||||
{ 0x4F, 0x13 },
|
{ 0x4F, 0x13 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // obsolete, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_DrawRectPatch
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_DrawRectPatch, 4034, 8) // obsolete, replaced by generic 3911 version
|
|
||||||
|
|
||||||
{ 0x1E, 0x6C },
|
|
||||||
{ 0x3E, 0x3C },
|
|
||||||
{ 0x5E, 0x54 },
|
|
||||||
{ 0x7F, 0x89 },
|
|
||||||
{ 0x9E, 0x00 },
|
|
||||||
{ 0xBE, 0xD9 },
|
|
||||||
{ 0xDE, 0xD9 },
|
|
||||||
{ 0xFE, 0x86 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetIndices
|
// * D3DDevice_SetIndices
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -520,33 +356,6 @@ OOVPA_NO_XREF(D3DDevice_SetIndices, 4034, 14)
|
||||||
{ 0x49, 0xE8 },
|
{ 0x49, 0xE8 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetIndices
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetIndices, 4034, 11)
|
|
||||||
|
|
||||||
// D3DDevice_SetIndices+0x0E : jz +0x10
|
|
||||||
{ 0x0E, 0x74 },
|
|
||||||
{ 0x0F, 0x10 },
|
|
||||||
|
|
||||||
// D3DDevice_SetIndices+0x1E : jmp +0x0A
|
|
||||||
{ 0x1E, 0xEB },
|
|
||||||
{ 0x1F, 0x0A },
|
|
||||||
|
|
||||||
// D3DDevice_SetIndices+0x59 : mov [esi+0x1C], ecx
|
|
||||||
{ 0x59, 0x89 },
|
|
||||||
{ 0x5A, 0x4E },
|
|
||||||
{ 0x5B, 0x1C },
|
|
||||||
|
|
||||||
// D3DDevice_SetIndices+0x76 : mov [esi+0x0504], edi
|
|
||||||
{ 0x76, 0x89 },
|
|
||||||
{ 0x77, 0xBE },
|
|
||||||
{ 0x78, 0x04 },
|
|
||||||
{ 0x79, 0x05 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderState_EdgeAntiAlias
|
// * D3DDevice_SetRenderState_EdgeAntiAlias
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -603,23 +412,6 @@ OOVPA_NO_XREF(D3DDevice_SetRenderState_BackFillMode, 4034, 13)
|
||||||
{ 0x4F, 0x04 },
|
{ 0x4F, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_BackFillMode
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_BackFillMode, 4034, 8)
|
|
||||||
|
|
||||||
{ 0x00, 0x8B },
|
|
||||||
{ 0x0B, 0xA3 },
|
|
||||||
{ 0x14, 0x04 },
|
|
||||||
{ 0x23, 0x8B },
|
|
||||||
{ 0x2A, 0xC9 },
|
|
||||||
{ 0x35, 0xC7 },
|
|
||||||
{ 0x40, 0x08 },
|
|
||||||
{ 0x4C, 0x5F },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderState_FogColor
|
// * D3DDevice_SetRenderState_FogColor
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -817,22 +609,6 @@ OOVPA_NO_XREF(D3DDevice_SetRenderState_VertexBlend, 4034, 7)
|
||||||
{ 0x3D, 0x5E },
|
{ 0x3D, 0x5E },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // Moved to 3911
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3D_CheckDeviceFormat
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3D_CheckDeviceFormat, 4034, 7)
|
|
||||||
|
|
||||||
{ 0x0E, 0x18 },
|
|
||||||
{ 0x1E, 0x00 },
|
|
||||||
{ 0x2E, 0x42 },
|
|
||||||
{ 0x41, 0x40 },
|
|
||||||
{ 0x4E, 0x74 },
|
|
||||||
{ 0x5E, 0x08 },
|
|
||||||
{ 0x6E, 0x3C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * Get2DSurfaceDesc
|
// * Get2DSurfaceDesc
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -850,30 +626,6 @@ OOVPA_NO_XREF(Get2DSurfaceDesc, 4034, 10)
|
||||||
{ 0xAE, 0xC2 },
|
{ 0xAE, 0xC2 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * Get2DSurfaceDesc
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(Get2DSurfaceDesc, 4034, 10)
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0x2B : movzx edx, byte ptr [edi+0x0D]
|
|
||||||
{ 0x2B, 0x0F },
|
|
||||||
{ 0x2C, 0xB6 },
|
|
||||||
{ 0x2D, 0x57 },
|
|
||||||
{ 0x2E, 0x0D },
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0x62 : mov eax, [eax+0x21DC]
|
|
||||||
{ 0x56, 0x8B },
|
|
||||||
{ 0x57, 0x80 },
|
|
||||||
{ 0x58, 0xDC },
|
|
||||||
{ 0x59, 0x21 },
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0xAE : retn 0x0C
|
|
||||||
{ 0xAE, 0xC2 },
|
|
||||||
{ 0xAF, 0x0C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderState_ZEnable
|
// * D3DDevice_SetRenderState_ZEnable
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -901,37 +653,6 @@ OOVPA_NO_XREF(D3DDevice_SetRenderState_ZEnable, 4034, 13)
|
||||||
{ 0x99, 0x04 },
|
{ 0x99, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // Used 3911
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_LightEnable
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_LightEnable, 4034, 13)
|
|
||||||
|
|
||||||
// D3DDevice_LightEnable+0x0F : cmp ebx, [esi+0x050C]
|
|
||||||
{ 0x0F, 0x3B },
|
|
||||||
{ 0x10, 0x9E },
|
|
||||||
{ 0x11, 0x0C },
|
|
||||||
{ 0x12, 0x05 },
|
|
||||||
|
|
||||||
// D3DDevice_LightEnable+0x6B : test eax, eax
|
|
||||||
{ 0x6B, 0x85 },
|
|
||||||
{ 0x6C, 0xC0 },
|
|
||||||
|
|
||||||
// D3DDevice_LightEnable+0x9E : mov eax, [eax+0x8C]
|
|
||||||
{ 0x9E, 0x8B },
|
|
||||||
{ 0x9F, 0x80 },
|
|
||||||
{ 0xA0, 0x8C },
|
|
||||||
|
|
||||||
// D3DDevice_LightEnable+0xBC : jz +0x12
|
|
||||||
{ 0xBC, 0x74 },
|
|
||||||
{ 0xBD, 0x12 },
|
|
||||||
|
|
||||||
// D3DDevice_LightEnable+0xE1 : retn 0x08
|
|
||||||
{ 0xE1, 0xC2 },
|
|
||||||
{ 0xE2, 0x08 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderState_TextureFactor
|
// * D3DDevice_SetRenderState_TextureFactor
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -956,55 +677,6 @@ OOVPA_NO_XREF(D3DDevice_SetRenderState_TextureFactor, 4034, 15)
|
||||||
{ 0x4F, 0x04 },
|
{ 0x4F, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_TextureFactor
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_TextureFactor, 4034, 9)
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_TextureFactor+0x07 : mov eax, [esi+0x04E8]
|
|
||||||
{ 0x07, 0x8B },
|
|
||||||
{ 0x08, 0x86 },
|
|
||||||
{ 0x09, 0xE8 },
|
|
||||||
{ 0x0A, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_TextureFactor+0x2F : nop
|
|
||||||
{ 0x2F, 0x90 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_TextureFactor+0x41 : retn 0x04
|
|
||||||
{ 0x41, 0xC2 },
|
|
||||||
{ 0x42, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_TextureFactor+0x4E : retn 0x04
|
|
||||||
{ 0x4E, 0xC2 },
|
|
||||||
{ 0x4F, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * Get2DSurfaceDesc
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(Get2DSurfaceDesc, 4034, 10)
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0x2B : movzx edx, byte ptr [edi+0x0D]
|
|
||||||
{ 0x2B, 0x0F },
|
|
||||||
{ 0x2C, 0xB6 },
|
|
||||||
{ 0x2D, 0x57 },
|
|
||||||
{ 0x2E, 0x0D },
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0x52 : mov edx, [eax+0x21FC]
|
|
||||||
{ 0x52, 0x8B },
|
|
||||||
{ 0x53, 0x90 },
|
|
||||||
{ 0x54, 0xFC },
|
|
||||||
{ 0x55, 0x21 },
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0xAE : retn 0x0C
|
|
||||||
{ 0xAE, 0xC2 },
|
|
||||||
{ 0xAF, 0x0C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_Clear
|
// * D3DDevice_Clear
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1030,56 +702,6 @@ OOVPA_NO_XREF(D3DDevice_Clear, 4034, 16)
|
||||||
{ 0x81, 0xB6 },
|
{ 0x81, 0xB6 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_Clear
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_Clear, 4034, 9)
|
|
||||||
// D3DDevice_Clear+0x0000 : sub esp, 38h
|
|
||||||
{ 0x0000, 0x83 },
|
|
||||||
{ 0x0001, 0xEC },
|
|
||||||
{ 0x0002, 0x38 },
|
|
||||||
|
|
||||||
// D3DDevice_Clear+0x000B : mov ebx, [ebp+0x21F4]
|
|
||||||
{ 0x000B, 0x8B },
|
|
||||||
{ 0x000C, 0x9D },
|
|
||||||
{ 0x000D, 0xF4 },
|
|
||||||
{ 0x000E, 0x21 },
|
|
||||||
|
|
||||||
// D3DDevice_Clear+0x0399 : retn 0x18
|
|
||||||
{ 0x0399, 0xC2 },
|
|
||||||
{ 0x039A, 0x18 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetLight
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetLight, 4034, 12)
|
|
||||||
|
|
||||||
// D3DDevice_SetLight+0x11 : mov edi, [ebp+0x50C]
|
|
||||||
{ 0x11, 0x8B },
|
|
||||||
{ 0x12, 0xBD },
|
|
||||||
{ 0x13, 0x0C },
|
|
||||||
{ 0x14, 0x05 },
|
|
||||||
|
|
||||||
// D3DDevice_SetLight+0x30 : shl eax, 0x04
|
|
||||||
{ 0x30, 0xC1 },
|
|
||||||
{ 0x31, 0xE0 },
|
|
||||||
{ 0x32, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetLight+0xBD : rep stosb
|
|
||||||
{ 0xBD, 0xF3 },
|
|
||||||
{ 0xBE, 0xAB },
|
|
||||||
|
|
||||||
// D3DDevice_SetLight+0xFD : mov ecx, [ebx+0x68]
|
|
||||||
{ 0xFD, 0x8B },
|
|
||||||
{ 0xFE, 0x4B },
|
|
||||||
{ 0xFF, 0x68 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DVertexBuffer_Lock
|
// * D3DVertexBuffer_Lock
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1167,32 +789,6 @@ OOVPA_XREF(D3DDevice_SetPalette, 4034, 1+12,
|
||||||
{ 0x54, 0x00 },
|
{ 0x54, 0x00 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetPalette
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetPalette, 4034, 12)
|
|
||||||
|
|
||||||
// D3DDevice_SetPalette+0x0D : mov eax, [edi+esi*4+0x0C08]
|
|
||||||
{ 0x0D, 0x8B },
|
|
||||||
{ 0x0E, 0x84 },
|
|
||||||
{ 0x0F, 0xBE },
|
|
||||||
{ 0x10, 0x08 },
|
|
||||||
{ 0x11, 0x0C },
|
|
||||||
|
|
||||||
// D3DDevice_SetPalette+0x76 : add edi, 0x41B20
|
|
||||||
{ 0x76, 0x81 },
|
|
||||||
{ 0x77, 0xC7 },
|
|
||||||
{ 0x78, 0x20 },
|
|
||||||
{ 0x79, 0x1B },
|
|
||||||
{ 0x7A, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetPalette+0x8A : retn 0x08
|
|
||||||
{ 0x8A, 0xC2 },
|
|
||||||
{ 0x8B, 0x08 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetTextureState_TexCoordIndex
|
// * D3DDevice_SetTextureState_TexCoordIndex
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1305,33 +901,6 @@ OOVPA_NO_XREF(D3DDevice_Swap, 4034, 20) // Up to 4432
|
||||||
{ 0x29, 0x8B },
|
{ 0x29, 0x8B },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_Swap
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_Swap, 4034, 11)
|
|
||||||
|
|
||||||
// D3DDevice_Swap+0x10 : mov ebx, 5
|
|
||||||
{ 0x10, 0xBB },
|
|
||||||
{ 0x11, 0x05 },
|
|
||||||
|
|
||||||
// D3DDevice_Swap+0x1D : test bl, 3
|
|
||||||
{ 0x1D, 0xF6 },
|
|
||||||
{ 0x1E, 0xC3 },
|
|
||||||
{ 0x1F, 0x03 },
|
|
||||||
|
|
||||||
// D3DDevice_Swap+0x30 : mov [esi+0x2C38], eax
|
|
||||||
{ 0x30, 0x89 },
|
|
||||||
{ 0x31, 0x86 },
|
|
||||||
{ 0x32, 0x38 },
|
|
||||||
{ 0x33, 0x2C },
|
|
||||||
|
|
||||||
// D3DDevice_Swap+0xB0 : retn 4
|
|
||||||
{ 0xB0, 0xC2 },
|
|
||||||
{ 0xB1, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3D_KickOffAndWaitForIdle
|
// * D3D_KickOffAndWaitForIdle
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1396,31 +965,6 @@ OOVPA_XREF(D3DDevice_CreateImageSurface, 4034, 1+1,
|
||||||
{ 0x00, 0xE9 },
|
{ 0x00, 0xE9 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_CreateImageSurface
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_CreateImageSurface, 4034, 9)
|
|
||||||
|
|
||||||
// D3DDevice_CreateImageSurface+0x2A : push 0x18
|
|
||||||
{ 0x2A, 0x6A },
|
|
||||||
{ 0x2B, 0x18 },
|
|
||||||
|
|
||||||
// D3DDevice_CreateImageSurface+0x2C : push 0x40
|
|
||||||
{ 0x2C, 0x6A },
|
|
||||||
{ 0x2D, 0x40 },
|
|
||||||
|
|
||||||
// D3DDevice_CreateImageSurface+0x3B : push 0x0404
|
|
||||||
{ 0x3B, 0x68 },
|
|
||||||
{ 0x3C, 0x04 },
|
|
||||||
{ 0x3D, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_CreateImageSurface+0x61 : retn 0x10
|
|
||||||
{ 0x61, 0xC2 },
|
|
||||||
{ 0x62, 0x10 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_GetBackBuffer
|
// * D3DDevice_GetBackBuffer
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1777,21 +1321,6 @@ OOVPA_NO_XREF(D3DDevice_End, 4039, 16) // Up to 5233
|
||||||
{ 0x3C, 0xC3 },
|
{ 0x3C, 0xC3 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4039 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_End
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_End, 4039, 7)
|
|
||||||
{ 0x07, 0x8B },
|
|
||||||
{ 0x0E, 0xE8 },
|
|
||||||
{ 0x16, 0x17 },
|
|
||||||
{ 0x1E, 0x00 },
|
|
||||||
{ 0x26, 0x46 },
|
|
||||||
{ 0x2E, 0x01 },
|
|
||||||
{ 0x36, 0x08 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetFlickerFilter
|
// * D3DDevice_SetFlickerFilter
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1844,6 +1373,7 @@ OOVPA_END;
|
||||||
// * D3DDevice_SetRenderState_PSTextureModes
|
// * D3DDevice_SetRenderState_PSTextureModes
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_PSTextureModes, 4034, 10)
|
OOVPA_NO_XREF(D3DDevice_SetRenderState_PSTextureModes, 4034, 10)
|
||||||
|
|
||||||
{ 0x0A, 0x89 },
|
{ 0x0A, 0x89 },
|
||||||
{ 0x0B, 0x81 },
|
{ 0x0B, 0x81 },
|
||||||
{ 0x0E, 0x00 },
|
{ 0x0E, 0x00 },
|
||||||
|
@ -1901,33 +1431,6 @@ OOVPA_NO_XREF(D3DResource_IsBusy, 4039, 11)
|
||||||
{ 0x77, 0x09 },
|
{ 0x77, 0x09 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // Moved to 4134
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetBackBufferScale
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetBackBufferScale, 4039, 16)
|
|
||||||
|
|
||||||
{ 0x09, 0x86 },
|
|
||||||
|
|
||||||
{ 0x10, 0xC1 },
|
|
||||||
{ 0x11, 0xE9 },
|
|
||||||
{ 0x12, 0x04 },
|
|
||||||
{ 0x13, 0x83 },
|
|
||||||
{ 0x14, 0xE1 },
|
|
||||||
{ 0x15, 0x0F },
|
|
||||||
{ 0x16, 0x85 },
|
|
||||||
{ 0x17, 0xC9 },
|
|
||||||
|
|
||||||
{ 0x28, 0xD8 },
|
|
||||||
{ 0x29, 0x4C },
|
|
||||||
{ 0x2A, 0x24 },
|
|
||||||
{ 0x2B, 0x0C },
|
|
||||||
{ 0x2C, 0x83 },
|
|
||||||
{ 0x2D, 0xE0 },
|
|
||||||
{ 0x2E, 0x0F },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderState_MultiSampleMode
|
// * D3DDevice_SetRenderState_MultiSampleMode
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -2007,76 +1510,6 @@ OOVPA_XREF(D3DDevice_SetRenderState_MultiSampleRenderTargetMode, 4034, 2+8,
|
||||||
{ 0x2B, 0x04 },
|
{ 0x2B, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_IsBusy
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_IsBusy, 4034, 7)
|
|
||||||
|
|
||||||
{ 0x05, 0x8B },
|
|
||||||
{ 0x0C, 0x90 },
|
|
||||||
{ 0x13, 0x44 },
|
|
||||||
{ 0x1A, 0xFF },
|
|
||||||
{ 0x21, 0x01 },
|
|
||||||
{ 0x28, 0x00 },
|
|
||||||
{ 0x2F, 0xD2 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetRenderTarget
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_GetRenderTarget, 4039, 1+11,
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x07, XREF_OFFSET_D3DDEVICE_M_RENDERTARGET ), // Derived
|
|
||||||
|
|
||||||
// D3DDevice_GetRenderTarget+0x00 : mov eax, [addr]
|
|
||||||
{ 0x00, 0xA1 },
|
|
||||||
|
|
||||||
// D3DDevice_GetRenderTarget+0x05 : mov eax, [eax + 0x21F0]
|
|
||||||
{ 0x05, 0x8B },
|
|
||||||
{ 0x06, 0x80 },
|
|
||||||
{ 0x07, 0xF0 },
|
|
||||||
{ 0x08, 0x21 },
|
|
||||||
{ 0x09, 0x00 },
|
|
||||||
{ 0x0A, 0x00 },
|
|
||||||
|
|
||||||
// D3DDevice_GetRenderTarget+0x0B : test eax, eax
|
|
||||||
{ 0x0B, 0x85 },
|
|
||||||
{ 0x0C, 0xC0 },
|
|
||||||
|
|
||||||
// D3DDevice_GetRenderTarget+0x1D : retn 0x04
|
|
||||||
{ 0x1D, 0xC2 },
|
|
||||||
{ 0x1E, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // Moved to 3911
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetDisplayFieldStatus
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetDisplayFieldStatus, 4039, 12)
|
|
||||||
|
|
||||||
{ 0x00, 0xA1 },
|
|
||||||
|
|
||||||
{ 0x09, 0x00 },
|
|
||||||
{ 0x0A, 0x00 },
|
|
||||||
{ 0x0B, 0x8B },
|
|
||||||
{ 0x0C, 0x4C },
|
|
||||||
{ 0x0D, 0x24 },
|
|
||||||
{ 0x0E, 0x04 },
|
|
||||||
{ 0x0F, 0x89 },
|
|
||||||
{ 0x10, 0x51 },
|
|
||||||
{ 0x11, 0x04 },
|
|
||||||
{ 0x12, 0xF7 },
|
|
||||||
{ 0x1C, 0x74 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_PersistDisplay
|
// * D3DDevice_PersistDisplay
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -2278,37 +1711,6 @@ OOVPA_NO_XREF(D3DDevice_GetDisplayMode, 4039, 24)
|
||||||
{ 0x4D, 0xE0 },
|
{ 0x4D, 0xE0 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4039 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetDisplayMode
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetDisplayMode, 4039, 13)
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayMode+0x01 : mov esi, ds:[*]
|
|
||||||
{ 0x01, 0x8B },
|
|
||||||
{ 0x02, 0x35 },
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayMode+0x18 : shr ecx, 0x14
|
|
||||||
{ 0x18, 0xC1 },
|
|
||||||
{ 0x19, 0xE9 },
|
|
||||||
{ 0x1A, 0x14 },
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayMode+0x50 : shr eax, 0x0C
|
|
||||||
{ 0x50, 0xC1 },
|
|
||||||
{ 0x51, 0xE8 },
|
|
||||||
{ 0x52, 0x0C },
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayMode+0x6B : and eax, 0x0A
|
|
||||||
{ 0x6B, 0x83 },
|
|
||||||
{ 0x6C, 0xE0 },
|
|
||||||
{ 0x6D, 0x0A },
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayMode+0x92 : retn 0x04
|
|
||||||
{ 0x92, 0xC2 },
|
|
||||||
{ 0x93, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetTextureState_BumpEnv
|
// * D3DDevice_SetTextureState_BumpEnv
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -2361,57 +1763,6 @@ OOVPA_XREF(D3DDevice_KickOff, 4034, 15,
|
||||||
{ 0x87, 0xB8 },
|
{ 0x87, 0xB8 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetScissors
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetScissors, 4039, 10)
|
|
||||||
|
|
||||||
// D3DDevice_SetScissors+0x0E : mov ebx, [esp+28h+arg_0]
|
|
||||||
{ 0x04, 0x8B },
|
|
||||||
{ 0x05, 0x5C },
|
|
||||||
{ 0x06, 0x24 },
|
|
||||||
{ 0x07, 0x2C },
|
|
||||||
|
|
||||||
// D3DDevice_SetScissors+0x0E : test ebx, ebx
|
|
||||||
{ 0x08, 0x85 },
|
|
||||||
{ 0x09, 0xDB },
|
|
||||||
|
|
||||||
{ 0x0A, 0x55 },
|
|
||||||
{ 0x0B, 0x8B },
|
|
||||||
|
|
||||||
// D3DDevice_SetScissors+0x0E : mov edx, [ebp+XXXh]
|
|
||||||
{ 0x1B, 0x8B },
|
|
||||||
{ 0x1C, 0x95 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetPixelShaderConstant
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetPixelShaderConstant, 4039, 10)
|
|
||||||
|
|
||||||
// D3DDevice_SetPixelShaderConstant+0x17 : test eax, eax
|
|
||||||
{ 0x17, 0x85 },
|
|
||||||
{ 0x18, 0xC0 },
|
|
||||||
|
|
||||||
// D3DDevice_SetPixelShaderConstant+0x32 : add edi, 0x04
|
|
||||||
{ 0x32, 0x83 },
|
|
||||||
{ 0x33, 0xC7 },
|
|
||||||
{ 0x34, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetPixelShaderConstant+0x47 : jmp +0x07
|
|
||||||
{ 0x47, 0xEB },
|
|
||||||
{ 0x48, 0x07 },
|
|
||||||
|
|
||||||
// D3DDevice_SetPixelShaderConstant+0xC7 : fstp [esp+??]
|
|
||||||
{ 0xC7, 0xD9 },
|
|
||||||
{ 0xC8, 0x1C },
|
|
||||||
{ 0xC9, 0x24 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3D::SetFence
|
// * D3D::SetFence
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -2456,32 +1807,6 @@ OOVPA_NO_XREF(D3DDevice_RunPushBuffer, 4039, 8)
|
||||||
{ 0xFE, 0x24 },
|
{ 0xFE, 0x24 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // Moved to 3911
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_Reset
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_Reset, 4039, 10)
|
|
||||||
|
|
||||||
// D3DDevice_Reset+0x15 : mov ecx, ebp
|
|
||||||
{ 0x15, 0x8B },
|
|
||||||
{ 0x16, 0xCD },
|
|
||||||
|
|
||||||
// D3DDevice_Reset+0x1E : jnz +0xF5
|
|
||||||
{ 0x1E, 0x75 },
|
|
||||||
{ 0x1F, 0xF5 },
|
|
||||||
|
|
||||||
// D3DDevice_Reset+0x27 : mov esi, [esp+0x14]
|
|
||||||
{ 0x27, 0x8B },
|
|
||||||
{ 0x28, 0x74 },
|
|
||||||
{ 0x29, 0x24 },
|
|
||||||
{ 0x2A, 0x14 },
|
|
||||||
|
|
||||||
// D3DDevice_Reset+0x37 : jge +0x10
|
|
||||||
{ 0x37, 0x7D },
|
|
||||||
{ 0x38, 0x10 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3D::BlockOnTime
|
// * D3D::BlockOnTime
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -2504,27 +1829,6 @@ OOVPA_XREF(D3D_BlockOnTime, 4034, 10,
|
||||||
{ 0x2F, 0x53 },
|
{ 0x2F, 0x53 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_BlockOnFence
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_BlockOnFence, 4039, 1+7,
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x08, XREF_D3D_BlockOnTime ),
|
|
||||||
|
|
||||||
{ 0x00, 0x8B },
|
|
||||||
{ 0x02, 0x24 },
|
|
||||||
{ 0x04, 0x6A },
|
|
||||||
{ 0x06, 0x50 },
|
|
||||||
{ 0x0C, 0xC2 },
|
|
||||||
{ 0x0D, 0x04 },
|
|
||||||
{ 0x0E, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetTile
|
// * D3DDevice_SetTile
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -2615,22 +1919,6 @@ OOVPA_NO_XREF(D3DDevice_GetVertexShaderConstant, 4039, 12)
|
||||||
{ 0x2F, 0x5F },
|
{ 0x2F, 0x5F },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by another 4039 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetVertexShaderConstant
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetVertexShaderConstant, 4039, 7)
|
|
||||||
|
|
||||||
{ 0x05, 0x15 },
|
|
||||||
{ 0x0C, 0x24 },
|
|
||||||
{ 0x13, 0xE0 },
|
|
||||||
{ 0x1A, 0x8D },
|
|
||||||
{ 0x21, 0x8B },
|
|
||||||
{ 0x28, 0x8B },
|
|
||||||
{ 0x2F, 0x5F },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_IsFencePending
|
// * D3DDevice_IsFencePending
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -2671,6 +1959,7 @@ OOVPA_END;
|
||||||
// * D3D::LazySetPointParams
|
// * D3D::LazySetPointParams
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
OOVPA_NO_XREF(D3D_LazySetPointParams, 4034, 7)
|
OOVPA_NO_XREF(D3D_LazySetPointParams, 4034, 7)
|
||||||
|
|
||||||
{ 0x00, 0x83 },
|
{ 0x00, 0x83 },
|
||||||
{ 0x01, 0xEC },
|
{ 0x01, 0xEC },
|
||||||
{ 0x02, 0x14 },
|
{ 0x02, 0x14 },
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -32,128 +32,6 @@
|
||||||
// *
|
// *
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * Direct3D_CreateDevice
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(Direct3D_CreateDevice, 4432, 8)
|
|
||||||
|
|
||||||
// Direct3D_CreateDevice+0x07 : jnz +0x0A
|
|
||||||
{ 0x07, 0x75 },
|
|
||||||
{ 0x08, 0x0A },
|
|
||||||
|
|
||||||
// Direct3D_CreateDevice+0x86 : repe stosd
|
|
||||||
{ 0x86, 0xF3 },
|
|
||||||
{ 0x87, 0xAB },
|
|
||||||
|
|
||||||
// Direct3D_CreateDevice+0x89 : mov eax, esi
|
|
||||||
{ 0x89, 0x8B },
|
|
||||||
{ 0x8A, 0xC6 },
|
|
||||||
|
|
||||||
// Direct3D_CreateDevice+0xA0 : retn 0x18
|
|
||||||
{ 0xA0, 0xC2 },
|
|
||||||
{ 0xA1, 0x18 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4134 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetRenderTarget
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_GetRenderTarget, 4432, 1+11,
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x07, XREF_OFFSET_D3DDEVICE_M_RENDERTARGET ), // Derived
|
|
||||||
|
|
||||||
// D3DDevice_GetRenderTarget+0x00 : mov eax, [addr]
|
|
||||||
{ 0x00, 0xA1 },
|
|
||||||
|
|
||||||
// D3DDevice_GetRenderTarget+0x05 : mov eax, [eax + 0x2070]
|
|
||||||
{ 0x05, 0x8B },
|
|
||||||
{ 0x06, 0x80 },
|
|
||||||
{ 0x07, 0x70 },
|
|
||||||
{ 0x08, 0x20 },
|
|
||||||
|
|
||||||
// D3DDevice_GetRenderTarget+0x15 : push eax
|
|
||||||
{ 0x15, 0x50 },
|
|
||||||
|
|
||||||
// D3DDevice_GetRenderTarget+0x13 : jz + 0x06
|
|
||||||
{ 0x13, 0x74 },
|
|
||||||
{ 0x14, 0x06 },
|
|
||||||
|
|
||||||
// D3DDevice_GetRenderTarget+0x16 : call [addr]
|
|
||||||
{ 0x16, 0xE8 },
|
|
||||||
|
|
||||||
// D3DDevice_GetRenderTarget+0x1D : retn 0x04
|
|
||||||
{ 0x1D, 0xC2 },
|
|
||||||
{ 0x1E, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetDepthStencilSurface
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetDepthStencilSurface, 4432, 11)
|
|
||||||
|
|
||||||
// D3DDevice_GetDepthStencilSurface+0x00 : mov eax, [addr]
|
|
||||||
{ 0x00, 0xA1 },
|
|
||||||
|
|
||||||
// D3DDevice_GetDepthStencilSurface+0x05 : mov eax, [eax + 0x2074]
|
|
||||||
{ 0x05, 0x8B },
|
|
||||||
{ 0x06, 0x80 },
|
|
||||||
{ 0x07, 0x74 },
|
|
||||||
{ 0x08, 0x20 },
|
|
||||||
|
|
||||||
// D3DDevice_GetDepthStencilSurface+0x15 : push eax
|
|
||||||
{ 0x15, 0x50 },
|
|
||||||
|
|
||||||
// D3DDevice_GetDepthStencilSurface+0x13 : jnz +0x0B
|
|
||||||
{ 0x13, 0x74 },
|
|
||||||
{ 0x14, 0x0B },
|
|
||||||
|
|
||||||
// D3DDevice_GetDepthStencilSurface+0x16 : call [addr]
|
|
||||||
{ 0x16, 0xE8 },
|
|
||||||
|
|
||||||
// D3DDevice_GetDepthStencilSurface+0x25 : retn 0x04
|
|
||||||
{ 0x25, 0xC2 },
|
|
||||||
{ 0x26, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetPixelShader
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_SetPixelShader, 4432, 1+10,
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x10, XREF_OFFSET_D3DDEVICE_M_PIXELSHADER ), // Derived
|
|
||||||
|
|
||||||
// D3DDevice_SetPixelShader+0x22 : or ecx, 0x4800
|
|
||||||
{ 0x22, 0x81 },
|
|
||||||
{ 0x23, 0xC9 },
|
|
||||||
{ 0x24, 0x00 },
|
|
||||||
{ 0x25, 0x48 },
|
|
||||||
|
|
||||||
// D3DDevice_SetPixelShader+0x3A : or eax, 0x2000
|
|
||||||
{ 0x3A, 0x0D },
|
|
||||||
{ 0x3C, 0x20 },
|
|
||||||
|
|
||||||
// D3DDevice_SetPixelShader+0x78 : retn 0x04
|
|
||||||
{ 0x78, 0xC2 },
|
|
||||||
{ 0x79, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetPixelShader+0xE3 : rep movsd
|
|
||||||
{ 0xE3, 0xF3 },
|
|
||||||
{ 0xE4, 0xA5 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderState_ZEnable
|
// * D3DDevice_SetRenderState_ZEnable
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -175,198 +53,6 @@ OOVPA_NO_XREF(D3DDevice_SetRenderState_ZEnable, 4432, 12)
|
||||||
{ 0x60, 0x2A },
|
{ 0x60, 0x2A },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4432 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_ZEnable
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_ZEnable, 4432, 13)
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_ZEnable+0x0C : jb +0x05
|
|
||||||
{ 0x0C, 0x72 },
|
|
||||||
{ 0x0D, 0x05 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_ZEnable+0x1B : mov ecx, [esi+0x2074]
|
|
||||||
{ 0x1B, 0x8B },
|
|
||||||
{ 0x1C, 0x8E },
|
|
||||||
{ 0x1D, 0x74 },
|
|
||||||
{ 0x1E, 0x20 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_ZEnable+0x2E : mov dword ptr [eax], 0x4030C
|
|
||||||
{ 0x2E, 0xC7 },
|
|
||||||
{ 0x2F, 0x00 },
|
|
||||||
{ 0x30, 0x0C },
|
|
||||||
{ 0x31, 0x03 },
|
|
||||||
{ 0x32, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_ZEnable+0x8C : retn 0x04
|
|
||||||
{ 0x8C, 0xC2 },
|
|
||||||
{ 0x8D, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_MultiSampleAntiAlias
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_MultiSampleAntiAlias, 4432, 9)
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_MultiSampleAntiAlias+0x04 : push esi
|
|
||||||
{ 0x04, 0x56 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_MultiSampleAntiAlias+0x12 : call [abs]
|
|
||||||
{ 0x12, 0xE8 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_MultiSampleAntiAlias+0x38 : shl ecx, 0x10
|
|
||||||
{ 0x38, 0xC1 },
|
|
||||||
{ 0x39, 0xE1 },
|
|
||||||
{ 0x3A, 0x10 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_MultiSampleAntiAlias+0x44 : or ecx, edx
|
|
||||||
{ 0x44, 0x0B },
|
|
||||||
{ 0x45, 0xCA },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_MultiSampleAntiAlias+0x4F : retn 0x04
|
|
||||||
{ 0x4F, 0xC2 },
|
|
||||||
{ 0x50, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_LineWidth
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_LineWidth, 4432, 10)
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_LineWidth+0x15 : fmul dword ptr [esi+0x460]
|
|
||||||
{ 0x15, 0xD8 },
|
|
||||||
{ 0x16, 0x8E },
|
|
||||||
{ 0x17, 0x60 },
|
|
||||||
{ 0x18, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_LineWidth+0x32 : cmp edi, 0x1FF
|
|
||||||
{ 0x32, 0x81 },
|
|
||||||
{ 0x33, 0xFF },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_LineWidth+0x3A : mov edi, 0x1FF
|
|
||||||
{ 0x3A, 0xBF },
|
|
||||||
{ 0x3B, 0xFF },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_LineWidth+0x62 : retn 0x04
|
|
||||||
{ 0x62, 0xC2 },
|
|
||||||
{ 0x63, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetPalette
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_SetPalette, 4432, 1+12,
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x10, XREF_OFFSET_D3DDEVICE_M_PALETTES ), // Derived
|
|
||||||
|
|
||||||
// D3DDevice_SetPalette+0x0D : mov eax, [edi+esi*4+0x0A88]
|
|
||||||
{ 0x0D, 0x8B },
|
|
||||||
{ 0x0E, 0x84 },
|
|
||||||
{ 0x0F, 0xBE },
|
|
||||||
{ 0x10, 0x88 },
|
|
||||||
{ 0x11, 0x0A },
|
|
||||||
|
|
||||||
// D3DDevice_SetPalette+0x76 : add esi, 0x41B20
|
|
||||||
{ 0x76, 0x81 },
|
|
||||||
{ 0x77, 0xC7 },
|
|
||||||
{ 0x78, 0x20 },
|
|
||||||
{ 0x79, 0x1B },
|
|
||||||
{ 0x7A, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetPalette+0x8A : retn 0x08
|
|
||||||
{ 0x8A, 0xC2 },
|
|
||||||
{ 0x8B, 0x08 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_Swap
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_Swap, 4432, 11)
|
|
||||||
|
|
||||||
// D3DDevice_Swap+0x10 : mov ebx, 5
|
|
||||||
{ 0x10, 0xBB },
|
|
||||||
{ 0x11, 0x05 },
|
|
||||||
|
|
||||||
// D3DDevice_Swap+0x1D : test bl, 3
|
|
||||||
{ 0x1D, 0xF6 },
|
|
||||||
{ 0x1E, 0xC3 },
|
|
||||||
{ 0x1F, 0x03 },
|
|
||||||
|
|
||||||
// D3DDevice_Swap+0x46 : inc dword ptr [esi+0x2AD8]
|
|
||||||
{ 0x46, 0xFF },
|
|
||||||
{ 0x47, 0x86 },
|
|
||||||
{ 0x48, 0xD8 },
|
|
||||||
{ 0x49, 0x2A },
|
|
||||||
|
|
||||||
// D3DDevice_Swap+0xAE : retn 4
|
|
||||||
{ 0xAE, 0xC2 },
|
|
||||||
{ 0xAF, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // Moved to 4531
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_Swap
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_Swap, 4531, 11)
|
|
||||||
|
|
||||||
// D3DDevice_Swap+0x10 : mov ebx, 5
|
|
||||||
{ 0x10, 0xBB },
|
|
||||||
{ 0x11, 0x05 },
|
|
||||||
|
|
||||||
// D3DDevice_Swap+0x1D : test bl, 3
|
|
||||||
{ 0x1D, 0xF6 },
|
|
||||||
{ 0x1E, 0xC3 },
|
|
||||||
{ 0x1F, 0x03 },
|
|
||||||
|
|
||||||
// D3DDevice_Swap+0x46 : inc dword ptr [esi+0x2AD8]
|
|
||||||
{ 0x46, 0xFF },
|
|
||||||
{ 0x47, 0x86 },
|
|
||||||
{ 0x48, 0xD8 },
|
|
||||||
{ 0x49, 0x2A },
|
|
||||||
|
|
||||||
// D3DDevice_Swap+0xAE : retn 4
|
|
||||||
{ 0xB9, 0xC2 },
|
|
||||||
{ 0xBA, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4134 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_UpdateOverlay
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_UpdateOverlay, 4432, 11)
|
|
||||||
|
|
||||||
// D3DDevice_UpdateOverlay+0x0F : mov [eax+0x2AA4], ecx
|
|
||||||
{ 0x0F, 0x89 },
|
|
||||||
{ 0x10, 0x88 },
|
|
||||||
{ 0x11, 0xA4 },
|
|
||||||
{ 0x12, 0x2A },
|
|
||||||
|
|
||||||
// D3DDevice_UpdateOverlay+0x86 : and ecx, 0xFFFFFFFE
|
|
||||||
{ 0x86, 0x83 },
|
|
||||||
{ 0x87, 0xE1 },
|
|
||||||
{ 0x88, 0xFE },
|
|
||||||
|
|
||||||
// D3DDevice_UpdateOverlay+0xA2 : mov [esi+0x8920], ecx
|
|
||||||
{ 0xA2, 0x89 },
|
|
||||||
{ 0xA3, 0x8E },
|
|
||||||
{ 0xA4, 0x20 },
|
|
||||||
{ 0xA5, 0x89 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_BlockUntilVerticalBlank
|
// * D3DDevice_BlockUntilVerticalBlank
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -444,251 +130,6 @@ OOVPA_NO_XREF(D3DDevice_SetVerticalBlankCallback, 4432, 12)
|
||||||
{ 0x11, 0x04 },
|
{ 0x11, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // Moved to 4531
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_BackFillMode
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_BackFillMode, 4531, 9)
|
|
||||||
|
|
||||||
{ 0x04, 0x56 },
|
|
||||||
{ 0x10, 0x8B },
|
|
||||||
{ 0x11, 0x06 },
|
|
||||||
{ 0x12, 0x3B },
|
|
||||||
{ 0x13, 0x46 },
|
|
||||||
{ 0x14, 0x04 },
|
|
||||||
{ 0x41, 0x83 },
|
|
||||||
{ 0x42, 0xC0 },
|
|
||||||
{ 0x43, 0x0C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4134 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_BeginPush
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_BeginPush, 4432, 6)
|
|
||||||
|
|
||||||
{ 0x09, 0x8B },
|
|
||||||
{ 0x0A, 0xCE },
|
|
||||||
{ 0x10, 0x8B },
|
|
||||||
{ 0x11, 0x44 },
|
|
||||||
{ 0x17, 0xE8 },
|
|
||||||
{ 0x1D, 0xC2 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_Release
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_Release, 4432, 11)
|
|
||||||
|
|
||||||
{ 0x07, 0x8B },
|
|
||||||
{ 0x08, 0x87 },
|
|
||||||
{ 0x09, 0x40 },
|
|
||||||
{ 0x0A, 0x04 },
|
|
||||||
{ 0x0B, 0x00 },
|
|
||||||
{ 0x0C, 0x00 },
|
|
||||||
{ 0x1B, 0xB9 },
|
|
||||||
{ 0x1C, 0xC0 },
|
|
||||||
{ 0x1D, 0x0A },
|
|
||||||
{ 0x1E, 0x00 },
|
|
||||||
{ 0x1F, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DTexture_GetSurfaceLevel
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DTexture_GetSurfaceLevel, 4432, 14)
|
|
||||||
|
|
||||||
// D3DTexture_GetSurfaceLevel+0x00 : sub esp, 0x0C
|
|
||||||
{ 0x00, 0x83 },
|
|
||||||
{ 0x01, 0xEC },
|
|
||||||
{ 0x02, 0x0C },
|
|
||||||
|
|
||||||
// D3DTexture_GetSurfaceLevel+0x04 : mov esi, [esp+0x14]
|
|
||||||
{ 0x04, 0x8B },
|
|
||||||
{ 0x07, 0x14 },
|
|
||||||
|
|
||||||
// D3DTexture_GetSurfaceLevel+0x04 : lea eax, [esp+0x14]
|
|
||||||
{ 0x08, 0x8D },
|
|
||||||
{ 0x0B, 0x14 },
|
|
||||||
|
|
||||||
// D3DTexture_GetSurfaceLevel+0x17 : mov edx, [esp+0x24]
|
|
||||||
{ 0x17, 0x8B },
|
|
||||||
{ 0x1A, 0x24 },
|
|
||||||
|
|
||||||
// D3DTexture_GetSurfaceLevel+0x1B : lea eax, [esp+0x18]
|
|
||||||
{ 0x1B, 0x8D },
|
|
||||||
{ 0x1E, 0x18 },
|
|
||||||
|
|
||||||
// D3DTexture_GetSurfaceLevel+0x29 : call [abs]
|
|
||||||
{ 0x29, 0xE8 },
|
|
||||||
|
|
||||||
// D3DTexture_GetSurfaceLevel+0x4C : retn 0x0C
|
|
||||||
{ 0x4C, 0xC2 },
|
|
||||||
{ 0x4D, 0x0C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4039 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetDisplayMode
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetDisplayMode, 4432, 12)
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayMode+0x01 : mov esi, ds:[*]
|
|
||||||
{ 0x01, 0x8B },
|
|
||||||
{ 0x02, 0x35 },
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayMode+0x18 : shr ecx, 0x14
|
|
||||||
{ 0x18, 0xC1 },
|
|
||||||
{ 0x19, 0xE9 },
|
|
||||||
{ 0x1A, 0x14 },
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayMode+0x50 : shr eax, 0x0C
|
|
||||||
{ 0x50, 0xC1 },
|
|
||||||
{ 0x51, 0xE8 },
|
|
||||||
{ 0x52, 0x0C },
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayMode+0x6B : and eax, 0x0A
|
|
||||||
{ 0x6B, 0x83 },
|
|
||||||
{ 0x6C, 0xE0 },
|
|
||||||
|
|
||||||
// D3DDevice_GetDisplayMode+0x92 : retn 4
|
|
||||||
{ 0x92, 0xC2 },
|
|
||||||
{ 0x93, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetFlickerFilter
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetFlickerFilter, 4432, 11)
|
|
||||||
|
|
||||||
// D3DDevice_SetFlickerFilter+0x1C : mov eax, [eax+0x227C]
|
|
||||||
{ 0x1D, 0x80 },
|
|
||||||
{ 0x1E, 0x7C },
|
|
||||||
{ 0x1F, 0x22 },
|
|
||||||
|
|
||||||
// D3DDevice_SetFlickerFilter+0x22 : push 0; push esi; push 0x0B; push eax
|
|
||||||
{ 0x22, 0x6A },
|
|
||||||
{ 0x23, 0x00 },
|
|
||||||
{ 0x24, 0x56 },
|
|
||||||
{ 0x25, 0x6A },
|
|
||||||
{ 0x26, 0x0B },
|
|
||||||
{ 0x27, 0x50 },
|
|
||||||
|
|
||||||
// D3DDevice_SetFlickerFilter+0x3F : retn 0x04
|
|
||||||
{ 0x3F, 0xC2 },
|
|
||||||
{ 0x40, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4134 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetFlickerFilter
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetSoftDisplayFilter, 4432, 12)
|
|
||||||
|
|
||||||
// D3DDevice_SetSoftDisplayFilter+0x25 : mov edx, [eax+0x227C]
|
|
||||||
{ 0x25, 0x8B },
|
|
||||||
{ 0x26, 0x90 },
|
|
||||||
{ 0x27, 0x7C },
|
|
||||||
{ 0x28, 0x22 },
|
|
||||||
|
|
||||||
// D3DDevice_SetSoftDisplayFilter+0x2B : push 0; push esi; push 0x0E; push edx
|
|
||||||
{ 0x2B, 0x6A },
|
|
||||||
{ 0x2C, 0x00 },
|
|
||||||
{ 0x2D, 0x56 },
|
|
||||||
{ 0x2E, 0x6A },
|
|
||||||
{ 0x2F, 0x0E },
|
|
||||||
{ 0x30, 0x52 },
|
|
||||||
|
|
||||||
// D3DDevice_SetSoftDisplayFilter+0x4E : retn 0x04
|
|
||||||
{ 0x4E, 0xC2 },
|
|
||||||
{ 0x4F, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // Moved to 4531
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DVertexBuffer_Lock
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DVertexBuffer_Lock, 4531, 11)
|
|
||||||
|
|
||||||
// D3DVertexBuffer_Lock+0x01 : mov bl, [esp+0x18]
|
|
||||||
{ 0x01, 0x8A },
|
|
||||||
{ 0x02, 0x5C },
|
|
||||||
{ 0x03, 0x24 },
|
|
||||||
{ 0x04, 0x18 },
|
|
||||||
|
|
||||||
// D3DVertexBuffer_Lock+0x09 : jnz +0x24
|
|
||||||
{ 0x09, 0x75 },
|
|
||||||
{ 0x0A, 0x24 },
|
|
||||||
|
|
||||||
// D3DVertexBuffer_Lock+0x2F : test bl, 0xA0
|
|
||||||
{ 0x2F, 0xF6 },
|
|
||||||
{ 0x30, 0xC3 },
|
|
||||||
{ 0x31, 0xA0 },
|
|
||||||
|
|
||||||
// D3DVertexBuffer_Lock+0x50 : retn 0x14
|
|
||||||
{ 0x54, 0xC2 },
|
|
||||||
{ 0x55, 0x14 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4134 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetProjectionViewportMatrix
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetProjectionViewportMatrix, 4432, 7)
|
|
||||||
|
|
||||||
{ 0x02, 0x35 },
|
|
||||||
{ 0x07, 0x57 },
|
|
||||||
{ 0x0A, 0x24 },
|
|
||||||
{ 0x0E, 0x70 },
|
|
||||||
{ 0x12, 0xB9 },
|
|
||||||
{ 0x16, 0x00 },
|
|
||||||
{ 0x1A, 0x5E },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // Moved to 4039
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetModelView
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetModelView, 4432, 7)
|
|
||||||
|
|
||||||
{ 0x15, 0x25 },
|
|
||||||
{ 0x2F, 0x81 },
|
|
||||||
{ 0x43, 0x43 },
|
|
||||||
{ 0x5A, 0x04 },
|
|
||||||
{ 0x72, 0x8D },
|
|
||||||
{ 0x88, 0x00 },
|
|
||||||
{ 0x9F, 0x75 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetDisplayFieldStatus
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetDisplayFieldStatus, 4432, 7)
|
|
||||||
|
|
||||||
{ 0x0B, 0x8B },
|
|
||||||
{ 0x0C, 0x4C },
|
|
||||||
{ 0x0D, 0x24 },
|
|
||||||
{ 0x0E, 0x04 },
|
|
||||||
{ 0x1E, 0x56 },
|
|
||||||
{ 0x25, 0x33 },
|
|
||||||
{ 0x26, 0xD2 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_GetViewportOffsetAndScale
|
// * D3DDevice_GetViewportOffsetAndScale
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
|
@ -57,24 +57,6 @@ OOVPA_NO_XREF(D3DDevice_Swap, 4531, 11)
|
||||||
{ 0xBA, 0x04 },
|
{ 0xBA, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4134 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_BackFillMode
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_BackFillMode, 4531, 9)
|
|
||||||
|
|
||||||
{ 0x04, 0x56 },
|
|
||||||
{ 0x10, 0x8B },
|
|
||||||
{ 0x11, 0x06 },
|
|
||||||
{ 0x12, 0x3B },
|
|
||||||
{ 0x13, 0x46 },
|
|
||||||
{ 0x14, 0x04 },
|
|
||||||
{ 0x41, 0x83 },
|
|
||||||
{ 0x42, 0xC0 },
|
|
||||||
{ 0x43, 0x0C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DVertexBuffer_Lock
|
// * D3DVertexBuffer_Lock
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -53,38 +53,6 @@ OOVPA_NO_XREF(D3DDevice_CreateTexture2, 4831, 12)
|
||||||
{ 0x52, 0xF7 },
|
{ 0x52, 0xF7 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4831 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_CreateTexture2
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_CreateTexture2, 4831, 12)
|
|
||||||
|
|
||||||
// D3DDevice_CreateTexture2+0x02 : lea eax, [esp+0x20]
|
|
||||||
{ 0x04, 0x8D },
|
|
||||||
{ 0x07, 0x20 },
|
|
||||||
|
|
||||||
// D3DDevice_CreateTexture2+0x0E : setz dl
|
|
||||||
{ 0x10, 0x0F },
|
|
||||||
{ 0x11, 0x94 },
|
|
||||||
{ 0x12, 0xC2 },
|
|
||||||
|
|
||||||
// D3DDevice_CreateTexture2+0x2A : push 0x00
|
|
||||||
{ 0x2E, 0x6A },
|
|
||||||
{ 0x2F, 0x00 },
|
|
||||||
|
|
||||||
// D3DDevice_CreateTexture2+0x53 : call [abs]
|
|
||||||
{ 0x57, 0xE8 },
|
|
||||||
|
|
||||||
// D3DDevice_CreateTexture2+0x78 : jnz +0x0D
|
|
||||||
{ 0x7C, 0x75 },
|
|
||||||
{ 0x7D, 0x0D },
|
|
||||||
|
|
||||||
// D3DDevice_CreateTexture2+0xAE : retn 0x1C
|
|
||||||
{ 0x88, 0xC2 },
|
|
||||||
{ 0x89, 0x1C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetTexture
|
// * D3DDevice_SetTexture
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
|
@ -62,100 +62,6 @@ OOVPA_NO_XREF(Direct3D_CreateDevice, 5028, 20) // Also for 5120, 5233, 5344 (545
|
||||||
{ 0x1F, 0xC7 },
|
{ 0x1F, 0xC7 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_TextureFactor
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_TextureFactor, 5028, 9)
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_TextureFactor+0x07 : mov eax, [esi+0x036C]
|
|
||||||
{ 0x07, 0x8B },
|
|
||||||
{ 0x08, 0x86 },
|
|
||||||
{ 0x09, 0x6C },
|
|
||||||
{ 0x0A, 0x03 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_TextureFactor+0x2F : nop
|
|
||||||
{ 0x2F, 0x90 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_TextureFactor+0x41 : retn 0x04
|
|
||||||
{ 0x41, 0xC2 },
|
|
||||||
{ 0x42, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_TextureFactor+0x4E : retn 0x04
|
|
||||||
{ 0x4E, 0xC2 },
|
|
||||||
{ 0x4F, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4627 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_Dxt1NoiseEnable
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_Dxt1NoiseEnable, 5028, 7)
|
|
||||||
|
|
||||||
{ 0x0F, 0xB4 },
|
|
||||||
{ 0x10, 0x15 },
|
|
||||||
{ 0x16, 0x0D },
|
|
||||||
{ 0x1F, 0x3C },
|
|
||||||
{ 0x34, 0x36 },
|
|
||||||
{ 0x58, 0x05 },
|
|
||||||
{ 0x75, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4432 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_ZEnable
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_ZEnable, 5028, 8)
|
|
||||||
|
|
||||||
{ 0x13, 0x8B },
|
|
||||||
{ 0x22, 0xC9 },
|
|
||||||
{ 0x34, 0x89 },
|
|
||||||
{ 0x46, 0x0C },
|
|
||||||
{ 0x5A, 0x74 },
|
|
||||||
{ 0x6D, 0x8B },
|
|
||||||
{ 0x7C, 0xCE },
|
|
||||||
{ 0x8E, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // Moved to 4627
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_SampleAlpha
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_SampleAlpha, 5028, 7)
|
|
||||||
|
|
||||||
{ 0x0B, 0xC1 },
|
|
||||||
{ 0x15, 0x0B },
|
|
||||||
{ 0x1C, 0x8B },
|
|
||||||
{ 0x28, 0x85 },
|
|
||||||
{ 0x30, 0x07 },
|
|
||||||
{ 0x3B, 0xC7 },
|
|
||||||
{ 0x44, 0x83 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4831 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_CreateTexture2
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_CreateTexture2, 5028, 11) // Also for 5233, 5344, 5558, 5659, 5788, 5849
|
|
||||||
|
|
||||||
{ 0x00, 0x56 },
|
|
||||||
{ 0x18, 0x33 },
|
|
||||||
{ 0x19, 0xC9 },
|
|
||||||
{ 0x1A, 0x83 },
|
|
||||||
{ 0x1B, 0xF8 },
|
|
||||||
{ 0x1C, 0x05 },
|
|
||||||
{ 0x1D, 0x8B },
|
|
||||||
{ 0x1E, 0x44 },
|
|
||||||
{ 0x1F, 0x24 },
|
|
||||||
{ 0x42, 0x8B },
|
|
||||||
{ 0x52, 0xF7 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_BlockUntilVerticalBlank
|
// * D3DDevice_BlockUntilVerticalBlank
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -181,272 +87,6 @@ OOVPA_NO_XREF(D3DDevice_BlockUntilVerticalBlank, 5028, 11)
|
||||||
{ 0x23, 0xC3 },
|
{ 0x23, 0xC3 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by another 5028 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_BlockUntilVerticalBlank
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_BlockUntilVerticalBlank, 5028, 7)
|
|
||||||
|
|
||||||
{ 0x05, 0x6A },
|
|
||||||
{ 0x12, 0x00 },
|
|
||||||
{ 0x15, 0x6A },
|
|
||||||
{ 0x16, 0x06 },
|
|
||||||
{ 0x17, 0x05 },
|
|
||||||
{ 0x1C, 0x50 },
|
|
||||||
{ 0x23, 0xC3 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4627 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetBackBuffer2
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetBackBuffer2, 5028, 12)
|
|
||||||
|
|
||||||
// D3DDevice_GetBackBuffer2+0x04 : cmp eax, 0xFFFFFFFF
|
|
||||||
{ 0x04, 0x83 },
|
|
||||||
{ 0x05, 0xF8 },
|
|
||||||
{ 0x06, 0xFF },
|
|
||||||
|
|
||||||
// D3DDevice_GetBackBuffer+0x0D : jnz +0x19
|
|
||||||
{ 0x0D, 0x75 },
|
|
||||||
{ 0x0E, 0x19 },
|
|
||||||
|
|
||||||
// D3DDevice_GetBackBuffer+0x15 : mov esi, [ecx+eax*4+0x15C0]
|
|
||||||
{ 0x15, 0x8B },
|
|
||||||
{ 0x16, 0xB4 },
|
|
||||||
{ 0x17, 0x81 },
|
|
||||||
{ 0x18, 0xC0 },
|
|
||||||
{ 0x19, 0x15 },
|
|
||||||
|
|
||||||
// D3DDevice_GetBackBuffer+0x40 : retn 0x04
|
|
||||||
{ 0x40, 0xC2 },
|
|
||||||
{ 0x41, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4627 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetRenderTarget2
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_GetRenderTarget2, 5028, 1+6,
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x08, XREF_OFFSET_D3DDEVICE_M_RENDERTARGET ), // Derived
|
|
||||||
|
|
||||||
{ 0x05, 0x56 },
|
|
||||||
{ 0x06, 0x8B },
|
|
||||||
{ 0x0A, 0x00 },
|
|
||||||
{ 0x0E, 0x74 },
|
|
||||||
{ 0x16, 0x8B },
|
|
||||||
{ 0x17, 0xC6 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4627 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetDepthStencilSurface2
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_GetDepthStencilSurface2, 5028, 1+7,
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x08, XREF_OFFSET_D3DDEVICE_M_DEPTHSTENCIL ), // Derived
|
|
||||||
|
|
||||||
{ 0x05, 0x56 },
|
|
||||||
{ 0x06, 0x8B },
|
|
||||||
{ 0x0A, 0x00 },
|
|
||||||
{ 0x0E, 0x75 },
|
|
||||||
{ 0x12, 0x5E },
|
|
||||||
{ 0x1A, 0x8B },
|
|
||||||
{ 0x1B, 0xC6 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetViewport
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetViewport, 5028, 9)
|
|
||||||
|
|
||||||
// D3DDevice_SetViewport+0x0A : mov eax, [esi+0x15B4]
|
|
||||||
{ 0x0A, 0x8B },
|
|
||||||
{ 0x0B, 0x86 },
|
|
||||||
{ 0x0C, 0xB4 },
|
|
||||||
{ 0x0D, 0x15 },
|
|
||||||
|
|
||||||
// D3DDevice_SetViewport+0x63 : shl edi, cl
|
|
||||||
{ 0x63, 0xD3 },
|
|
||||||
{ 0x64, 0xE7 },
|
|
||||||
|
|
||||||
// D3DDevice_SetViewport+0xDF : and ecx, 0x0F
|
|
||||||
{ 0xDF, 0x83 },
|
|
||||||
{ 0xE0, 0xE1 },
|
|
||||||
{ 0xE1, 0x0F },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetLight
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetLight, 5028, 12)
|
|
||||||
|
|
||||||
// D3DDevice_SetLight+0x11 : mov edi, [ebp+0x390]
|
|
||||||
{ 0x11, 0x8B },
|
|
||||||
{ 0x12, 0xBD },
|
|
||||||
{ 0x13, 0x90 },
|
|
||||||
{ 0x14, 0x03 },
|
|
||||||
|
|
||||||
// D3DDevice_SetLight+0x30 : shl eax, 0x04
|
|
||||||
{ 0x30, 0xC1 },
|
|
||||||
{ 0x31, 0xE0 },
|
|
||||||
{ 0x32, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetLight+0xBD : rep stosb
|
|
||||||
{ 0xBD, 0xF3 },
|
|
||||||
{ 0xBE, 0xAB },
|
|
||||||
|
|
||||||
// D3DDevice_SetLight+0xFD : mov ecx, [ebx+0x68]
|
|
||||||
{ 0xFD, 0x8B },
|
|
||||||
{ 0xFE, 0x4B },
|
|
||||||
{ 0xFF, 0x68 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_LightEnable
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_LightEnable, 5028, 13)
|
|
||||||
|
|
||||||
// D3DDevice_LightEnable+0x0F : cmp ebx, [esi+0x0390]
|
|
||||||
{ 0x0F, 0x3B },
|
|
||||||
{ 0x10, 0x9E },
|
|
||||||
{ 0x11, 0x90 },
|
|
||||||
{ 0x12, 0x03 },
|
|
||||||
|
|
||||||
// D3DDevice_LightEnable+0x6B : test eax, eax
|
|
||||||
{ 0x6B, 0x85 },
|
|
||||||
{ 0x6C, 0xC0 },
|
|
||||||
|
|
||||||
// D3DDevice_LightEnable+0x9E : mov eax, [eax+0x8C]
|
|
||||||
{ 0x9E, 0x8B },
|
|
||||||
{ 0x9F, 0x80 },
|
|
||||||
{ 0xA0, 0x8C },
|
|
||||||
|
|
||||||
// D3DDevice_LightEnable+0xBC : jz +0x12
|
|
||||||
{ 0xBC, 0x74 },
|
|
||||||
{ 0xBD, 0x12 },
|
|
||||||
|
|
||||||
// D3DDevice_LightEnable+0xE1 : retn 0x08
|
|
||||||
{ 0xE1, 0xC2 },
|
|
||||||
{ 0xE2, 0x08 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetIndices
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetIndices, 5028, 7)
|
|
||||||
|
|
||||||
{ 0x0F, 0x10 },
|
|
||||||
{ 0x20, 0xC7 },
|
|
||||||
{ 0x31, 0xC0 },
|
|
||||||
{ 0x42, 0x78 },
|
|
||||||
{ 0x53, 0xBE },
|
|
||||||
{ 0x64, 0x89 },
|
|
||||||
{ 0x75, 0x10 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4627 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetTile
|
|
||||||
// ******************************************************************
|
|
||||||
// Accurately this one ?SetTileNoWait@D3D@@YGXKPBU_D3DTILE@@@Z
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetTile, 5028, 11)
|
|
||||||
|
|
||||||
// D3DDevice_SetTile+0x06 : sub esp, 0x18
|
|
||||||
{ 0x06, 0x83 },
|
|
||||||
{ 0x07, 0xEC },
|
|
||||||
{ 0x08, 0x18 },
|
|
||||||
|
|
||||||
// D3DDevice_SetTile+0x15 : cmp [esi+4], eax
|
|
||||||
{ 0x15, 0x39 },
|
|
||||||
{ 0x16, 0x46 },
|
|
||||||
{ 0x17, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetTile+0x3D : lea edi, [edx+ecx*8+0xXXXX]
|
|
||||||
{ 0x3D, 0x8D },
|
|
||||||
{ 0x3E, 0xBC },
|
|
||||||
{ 0x3F, 0xCA },
|
|
||||||
{ 0x42, 0x00 },
|
|
||||||
{ 0x43, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetTile
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetTile, 5028, 13)
|
|
||||||
|
|
||||||
{ 0x05, 0x0D },
|
|
||||||
|
|
||||||
{ 0x0A, 0x56 },
|
|
||||||
{ 0x0B, 0x57 },
|
|
||||||
|
|
||||||
{ 0x18, 0x00 },
|
|
||||||
{ 0x19, 0x00 },
|
|
||||||
{ 0x1A, 0xB9 },
|
|
||||||
{ 0x1B, 0x06 },
|
|
||||||
{ 0x1C, 0x00 },
|
|
||||||
{ 0x1D, 0x00 },
|
|
||||||
{ 0x1E, 0x00 },
|
|
||||||
{ 0x1F, 0xF3 },
|
|
||||||
|
|
||||||
{ 0x23, 0xC2 },
|
|
||||||
{ 0x24, 0x08 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_Clear
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_Clear, 5028, 8)
|
|
||||||
{ 0x1D, 0x8A },
|
|
||||||
{ 0x3C, 0x8B },
|
|
||||||
{ 0x5B, 0x00 },
|
|
||||||
{ 0x7A, 0xFD },
|
|
||||||
{ 0x99, 0x25 },
|
|
||||||
{ 0xB8, 0x00 },
|
|
||||||
{ 0xD7, 0x75 },
|
|
||||||
{ 0xF6, 0xFF },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_DrawVertices
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_DrawVertices, 5028, 7)
|
|
||||||
|
|
||||||
{ 0x12, 0x8B },
|
|
||||||
{ 0x26, 0x8B },
|
|
||||||
{ 0x37, 0x00 },
|
|
||||||
{ 0x4A, 0x27 },
|
|
||||||
{ 0x5D, 0x89 },
|
|
||||||
{ 0x70, 0x75 },
|
|
||||||
{ 0x83, 0x40 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_DrawIndexedVertices
|
// * D3DDevice_DrawIndexedVertices
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -462,23 +102,6 @@ OOVPA_NO_XREF(D3DDevice_DrawIndexedVertices, 5028, 8)
|
||||||
{ 0xFE, 0x04 },
|
{ 0xFE, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4134 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetVertexData2f
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetVertexData2f, 5028, 8)
|
|
||||||
|
|
||||||
{ 0x07, 0x8B },
|
|
||||||
{ 0x0C, 0x72 },
|
|
||||||
{ 0x13, 0x8B },
|
|
||||||
{ 0x1A, 0x80 },
|
|
||||||
{ 0x21, 0x0C },
|
|
||||||
{ 0x28, 0x89 },
|
|
||||||
{ 0x2F, 0xC0 },
|
|
||||||
{ 0x36, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_LoadVertexShader
|
// * D3DDevice_LoadVertexShader
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -493,23 +116,6 @@ OOVPA_NO_XREF(D3DDevice_LoadVertexShader, 5028, 7)
|
||||||
{ 0x4B, 0x5E },
|
{ 0x4B, 0x5E },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4039 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetShaderConstantMode
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetShaderConstantMode, 5028, 8)
|
|
||||||
|
|
||||||
{ 0x1D, 0xFD },
|
|
||||||
{ 0x3C, 0x8B },
|
|
||||||
{ 0x5B, 0x0B },
|
|
||||||
{ 0x7A, 0x56 },
|
|
||||||
{ 0x99, 0xC0 },
|
|
||||||
{ 0xB8, 0x00 },
|
|
||||||
{ 0xD7, 0x89 },
|
|
||||||
{ 0xF6, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetVertexShader
|
// * D3DDevice_SetVertexShader
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -538,22 +144,6 @@ OOVPA_NO_XREF(D3DDevice_SetVertexShader, 5028, 14)
|
||||||
{ 0xB4, 0x04 },
|
{ 0xB4, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4627 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_Swap
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_Swap, 5028, 7)
|
|
||||||
|
|
||||||
{ 0x1B, 0xE8 },
|
|
||||||
{ 0x38, 0xC3 },
|
|
||||||
{ 0x55, 0xC0 },
|
|
||||||
{ 0x72, 0x3F },
|
|
||||||
{ 0x8F, 0x8E },
|
|
||||||
{ 0xAC, 0xC6 },
|
|
||||||
{ 0xC9, 0xC0 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3D::SetFence
|
// * D3D::SetFence
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -624,30 +214,6 @@ OOVPA_NO_XREF(D3D_KickOffAndWaitForIdle, 5028, 9)
|
||||||
{ 0x10, 0xC3 },
|
{ 0x10, 0xC3 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * Get2DSurfaceDesc
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(Get2DSurfaceDesc, 5028, 10)
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0x2B : movzx edx, byte ptr [edi+0x0D]
|
|
||||||
{ 0x2B, 0x0F },
|
|
||||||
{ 0x2C, 0xB6 },
|
|
||||||
{ 0x2D, 0x57 },
|
|
||||||
{ 0x2E, 0x0D },
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0x52 : mov edx, [eax+0x15C0]
|
|
||||||
{ 0x52, 0x8B },
|
|
||||||
{ 0x53, 0x90 },
|
|
||||||
{ 0x54, 0xC0 },
|
|
||||||
{ 0x55, 0x15 },
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0xAE : retn 0x0C
|
|
||||||
{ 0xAE, 0xC2 },
|
|
||||||
{ 0xAF, 0x0C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetVertexShaderConstantNotInline
|
// * D3DDevice_SetVertexShaderConstantNotInline
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -800,47 +366,6 @@ OOVPA_XREF(D3D_CommonSetRenderTarget, 5028, 1+12,
|
||||||
{ 0x7F, 0x05 },
|
{ 0x7F, 0x05 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5028 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3D_CommonSetRenderTarget
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3D_CommonSetRenderTarget, 5028, 10,
|
|
||||||
|
|
||||||
XREF_D3D_CommonSetRenderTarget,
|
|
||||||
XRefZero)
|
|
||||||
|
|
||||||
{ 0x06, 0x24 },
|
|
||||||
{ 0x07, 0x24 },
|
|
||||||
{ 0x08, 0x55 },
|
|
||||||
{ 0x09, 0x56 },
|
|
||||||
{ 0x0A, 0x8B },
|
|
||||||
{ 0x35, 0x8B },
|
|
||||||
{ 0x3C, 0x96 },
|
|
||||||
{ 0x47, 0xC4 },
|
|
||||||
{ 0x57, 0x10 },
|
|
||||||
{ 0x67, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4831 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_PersistDisplay
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_PersistDisplay, 5028, 10)
|
|
||||||
|
|
||||||
{ 0x01, 0xEC },
|
|
||||||
{ 0x02, 0x08 },
|
|
||||||
{ 0x03, 0x53 },
|
|
||||||
{ 0x04, 0x8B },
|
|
||||||
{ 0x05, 0x1D },
|
|
||||||
{ 0x11, 0xC0 },
|
|
||||||
{ 0x12, 0x74 },
|
|
||||||
{ 0x13, 0x0F },
|
|
||||||
{ 0x23, 0x8B },
|
|
||||||
{ 0x24, 0x83 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_LazySetStateVB
|
// * D3DDevice_LazySetStateVB
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -890,52 +415,6 @@ OOVPA_XREF(D3DDevice_BeginPush, 5028, 1+9,
|
||||||
{ 0x15, 0x04 },
|
{ 0x15, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_BeginPush
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_BeginPush, 5028, 6)
|
|
||||||
|
|
||||||
{ 0x06, 0x6A },
|
|
||||||
{ 0x07, 0x00 },
|
|
||||||
{ 0x0D, 0x8B },
|
|
||||||
{ 0x0E, 0x44 },
|
|
||||||
{ 0x12, 0x89 },
|
|
||||||
{ 0x16, 0xE9 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4039 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_End
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_End, 5028, 13)
|
|
||||||
|
|
||||||
// D3DDevice_End+0x00 : push esi
|
|
||||||
{ 0x00, 0x56 },
|
|
||||||
|
|
||||||
// D3DDevice_End+0x13 : mov dword ptr [eax], 0x417FC
|
|
||||||
{ 0x13, 0xC7 },
|
|
||||||
{ 0x14, 0x00 },
|
|
||||||
{ 0x15, 0xFC },
|
|
||||||
{ 0x16, 0x17 },
|
|
||||||
{ 0x17, 0x04 },
|
|
||||||
{ 0x18, 0x00 },
|
|
||||||
|
|
||||||
// D3DDevice_End+0x28 : test ah, 0x10
|
|
||||||
{ 0x28, 0xF6 },
|
|
||||||
{ 0x29, 0xC4 },
|
|
||||||
{ 0x2A, 0x10 },
|
|
||||||
|
|
||||||
// D3DDevice_End+0x2B : jz +0x07
|
|
||||||
{ 0x2B, 0x74 },
|
|
||||||
{ 0x2C, 0x07 },
|
|
||||||
|
|
||||||
// D3DDevice_End+0x3C : retn
|
|
||||||
{ 0x3C, 0xC3 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_IsFencePending
|
// * D3DDevice_IsFencePending
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -953,51 +432,6 @@ OOVPA_XREF(D3DDevice_IsFencePending, 5028, 1+5,
|
||||||
{ 0x1C, 0x04 },
|
{ 0x1C, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4531 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_UpdateOverlay
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_UpdateOverlay, 5028, 8)
|
|
||||||
|
|
||||||
{ 0x0F, 0x89 },
|
|
||||||
{ 0x10, 0x88 },
|
|
||||||
{ 0x11, 0xA8 },
|
|
||||||
{ 0x12, 0x1F },
|
|
||||||
{ 0x70, 0x4F },
|
|
||||||
{ 0x78, 0x8B },
|
|
||||||
{ 0x80, 0xCA },
|
|
||||||
{ 0x88, 0x8B },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetOverlayUpdateStatus
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetOverlayUpdateStatus, 5028, 12)
|
|
||||||
|
|
||||||
// D3DDevice_GetOverlayUpdateStatus+0x05 : mov ecx, [eax+0x2BA8]
|
|
||||||
{ 0x05, 0x8B },
|
|
||||||
{ 0x06, 0x88 },
|
|
||||||
{ 0x07, 0xA8 },
|
|
||||||
{ 0x08, 0x1F },
|
|
||||||
|
|
||||||
// D3DDevice_GetOverlayUpdateStatus+0x0C : mov esi, [eax+0x2580]
|
|
||||||
{ 0x0C, 0x8B },
|
|
||||||
{ 0x0D, 0xB0 },
|
|
||||||
{ 0x0E, 0x80 },
|
|
||||||
{ 0x0F, 0x19 },
|
|
||||||
|
|
||||||
// D3DDevice_GetOverlayUpdateStatus+0x16 : setnz dl
|
|
||||||
{ 0x16, 0x0F },
|
|
||||||
{ 0x17, 0x95 },
|
|
||||||
{ 0x18, 0xC2 },
|
|
||||||
|
|
||||||
// D3DDevice_GetOverlayUpdateStatus+0x1C : retn
|
|
||||||
{ 0x1C, 0xC3 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3D::CDevice::KickOff
|
// * D3D::CDevice::KickOff
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1016,53 +450,6 @@ OOVPA_XREF(D3DDevice_KickOff, 5028, 8,
|
||||||
{ 0x7E, 0xBA },
|
{ 0x7E, 0xBA },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetLightEnable
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_GetLightEnable, 5028, 1+26,
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x05, XREF_D3DDEVICE ), // Derived
|
|
||||||
|
|
||||||
{ 0x00, 0x8B },
|
|
||||||
{ 0x01, 0x4C },
|
|
||||||
{ 0x02, 0x24 },
|
|
||||||
{ 0x03, 0x04 },
|
|
||||||
|
|
||||||
{ 0x04, 0xA1 },
|
|
||||||
{ 0x09, 0x8B },
|
|
||||||
{ 0x0A, 0x90 },
|
|
||||||
{ 0x0B, 0x80 },
|
|
||||||
{ 0x0C, 0x04 },
|
|
||||||
|
|
||||||
{ 0x0D, 0x00 },
|
|
||||||
{ 0x0E, 0x00 },
|
|
||||||
{ 0x0F, 0x8B },
|
|
||||||
{ 0x10, 0x80 },
|
|
||||||
// { 0x11, 0x88 }, // 88 vs 94
|
|
||||||
|
|
||||||
// { 0x12, 0x04 }, // 04 vs 03
|
|
||||||
{ 0x13, 0x00 },
|
|
||||||
{ 0x14, 0x00 },
|
|
||||||
{ 0x15, 0x8D },
|
|
||||||
{ 0x16, 0x0C },
|
|
||||||
|
|
||||||
{ 0x17, 0xC9 },
|
|
||||||
{ 0x18, 0xC1 },
|
|
||||||
{ 0x19, 0xE1 },
|
|
||||||
{ 0x1A, 0x04 },
|
|
||||||
{ 0x1B, 0x03 },
|
|
||||||
|
|
||||||
{ 0x1C, 0xCA },
|
|
||||||
{ 0x1D, 0x85 },
|
|
||||||
{ 0x1E, 0xC0 },
|
|
||||||
{ 0x1F, 0x74 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_BeginStateBig
|
// * D3DDevice_BeginStateBig
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1225,30 +612,6 @@ OOVPA_XREF(D3D_MakeRequestedSpace, 5028, 28, // Also for 5344
|
||||||
{ 0x1F, 0x03 },
|
{ 0x1F, 0x03 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // Moved to 5120
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_RunPushBuffer
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_RunPushBuffer, 5120, 13)
|
|
||||||
|
|
||||||
{ 0x0B, 0x57 },
|
|
||||||
{ 0x10, 0xE8 },
|
|
||||||
|
|
||||||
{ 0x15, 0x8B },
|
|
||||||
{ 0x1F, 0x01 },
|
|
||||||
|
|
||||||
{ 0x8D, 0x8B },
|
|
||||||
{ 0x8E, 0x4E },
|
|
||||||
{ 0x8F, 0x30 },
|
|
||||||
{ 0x90, 0x8B },
|
|
||||||
{ 0x91, 0x11 },
|
|
||||||
{ 0x92, 0x8B },
|
|
||||||
{ 0x93, 0x4E },
|
|
||||||
{ 0x94, 0x2C },
|
|
||||||
{ 0x95, 0x8B },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_GetShaderConstantMode
|
// * D3DDevice_GetShaderConstantMode
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
|
@ -32,181 +32,6 @@
|
||||||
// *
|
// *
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetDisplayFieldStatus
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetDisplayFieldStatus, 5233, 7)
|
|
||||||
|
|
||||||
{ 0x06, 0x90 },
|
|
||||||
{ 0x0E, 0x04 },
|
|
||||||
{ 0x16, 0x00 },
|
|
||||||
{ 0x1E, 0x56 },
|
|
||||||
{ 0x26, 0xD2 },
|
|
||||||
{ 0x2E, 0x89 },
|
|
||||||
{ 0x36, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // Moved to 4627
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetVertexShaderConstantNotInlineFast
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetVertexShaderConstantNotInlineFast, 5233, 13)
|
|
||||||
|
|
||||||
// D3DDevice_SetVertexShaderConstantNotInlineFast+0x00 : push esi
|
|
||||||
{ 0x00, 0x56 },
|
|
||||||
|
|
||||||
// D3DDevice_SetVertexShaderConstantNotInlineFast+0x26 : cmp eax, 0x10
|
|
||||||
{ 0x26, 0x83 },
|
|
||||||
{ 0x27, 0xF8 },
|
|
||||||
{ 0x28, 0x10 },
|
|
||||||
|
|
||||||
// D3DDevice_SetVertexShaderConstantNotInlineFast+0x29 : jnb +0x1F
|
|
||||||
{ 0x29, 0x73 },
|
|
||||||
{ 0x2A, 0x1F },
|
|
||||||
|
|
||||||
// D3DDevice_SetVertexShaderConstantNotInlineFast+0x33 : or eax, 0x0B80
|
|
||||||
{ 0x33, 0x0D },
|
|
||||||
{ 0x34, 0x80 },
|
|
||||||
{ 0x35, 0x0B },
|
|
||||||
{ 0x36, 0x00 },
|
|
||||||
|
|
||||||
// D3DDevice_SetVertexShaderConstantNotInlineFast+0x3B : rep movsd
|
|
||||||
{ 0x3B, 0xF3 },
|
|
||||||
{ 0x3C, 0xA5 },
|
|
||||||
|
|
||||||
// D3DDevice_SetVertexShaderConstantNotInlineFast+0x43 : emms
|
|
||||||
{ 0x43, 0x0F },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4627 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetPixelShader
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetPixelShader, 5233, 7)
|
|
||||||
|
|
||||||
{ 0x1E, 0x75 },
|
|
||||||
{ 0x3E, 0x0D },
|
|
||||||
{ 0x60, 0x8B },
|
|
||||||
{ 0x7E, 0x04 },
|
|
||||||
{ 0x9E, 0x20 },
|
|
||||||
{ 0xBE, 0x08 },
|
|
||||||
{ 0xE1, 0xF6 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4831 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_CreateTexture2
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_CreateTexture2, 5233, 12)
|
|
||||||
|
|
||||||
// D3DDevice_CreateTexture2+0x04 : lea eax, [esp+0x20]
|
|
||||||
{ 0x04, 0x8D },
|
|
||||||
{ 0x07, 0x20 },
|
|
||||||
|
|
||||||
// D3DDevice_CreateTexture2+0x10 : setz dl
|
|
||||||
{ 0x10, 0x0F },
|
|
||||||
{ 0x11, 0x94 },
|
|
||||||
{ 0x12, 0xC2 },
|
|
||||||
|
|
||||||
// D3DDevice_CreateTexture2+0x2E : push 0x00
|
|
||||||
{ 0x2E, 0x6A },
|
|
||||||
{ 0x2F, 0x00 },
|
|
||||||
|
|
||||||
// D3DDevice_CreateTexture2+0x57 : call [abs]
|
|
||||||
{ 0x57, 0xE8 },
|
|
||||||
|
|
||||||
// D3DDevice_CreateTexture2+0x7C : jnz +0x0D
|
|
||||||
{ 0x7C, 0x75 },
|
|
||||||
{ 0x7D, 0x0D },
|
|
||||||
|
|
||||||
// D3DDevice_CreateTexture2+0xB2 : retn 0x1C
|
|
||||||
{ 0xB2, 0xC2 },
|
|
||||||
{ 0xB3, 0x1C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_CullMode
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_SetRenderState_CullMode, 5233, 2+13,
|
|
||||||
|
|
||||||
XREF_D3DDevice_SetRenderState_CullMode,
|
|
||||||
XRefTwo)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x03, XREF_D3DDEVICE ), // Derived
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x2B, XREF_D3DRS_CULLMODE ), // Derived
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_CullMode+0x19 : mov dword ptr [eax], 0x40308
|
|
||||||
{ 0x19, 0xC7 },
|
|
||||||
{ 0x1B, 0x08 },
|
|
||||||
{ 0x1C, 0x03 },
|
|
||||||
{ 0x1D, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_CullMode+0x24 : add eax, 8
|
|
||||||
{ 0x24, 0x83 },
|
|
||||||
{ 0x25, 0xC0 },
|
|
||||||
{ 0x26, 0x08 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_CullMode+0x30 : retn 4
|
|
||||||
{ 0x30, 0xC2 },
|
|
||||||
{ 0x31, 0x04 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_CullMode+0x53 : add edx, 0x404
|
|
||||||
{ 0x53, 0x81 },
|
|
||||||
{ 0x54, 0xC2 },
|
|
||||||
{ 0x55, 0x04 },
|
|
||||||
{ 0x56, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4831 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetTexture
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_SetTexture, 5233, 1+10,
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x13, XREF_OFFSET_D3DDEVICE_M_TEXTURES ), // Derived
|
|
||||||
|
|
||||||
{ 0x16, 0x00 },
|
|
||||||
{ 0x17, 0x85 },
|
|
||||||
{ 0x18, 0xC0 },
|
|
||||||
{ 0x19, 0x89 },
|
|
||||||
{ 0x1A, 0x6C },
|
|
||||||
{ 0x7E, 0x00 },
|
|
||||||
{ 0x9E, 0x00 },
|
|
||||||
{ 0xBE, 0x89 },
|
|
||||||
{ 0xDE, 0xFF },
|
|
||||||
{ 0xFE, 0xE2 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4627 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_Swap
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_Swap, 5233, 9)
|
|
||||||
|
|
||||||
{ 0x1B, 0xE8 },
|
|
||||||
{ 0x48, 0x00 },
|
|
||||||
{ 0x49, 0x48 },
|
|
||||||
{ 0x4A, 0x83 },
|
|
||||||
{ 0x4B, 0xE0 },
|
|
||||||
{ 0x4C, 0x01 },
|
|
||||||
{ 0x6D, 0xFB },
|
|
||||||
{ 0x7C, 0x6A },
|
|
||||||
{ 0xA6, 0xE8 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_UpdateOverlay
|
// * D3DDevice_UpdateOverlay
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -227,59 +52,6 @@ OOVPA_NO_XREF(D3DDevice_UpdateOverlay, 5233, 12) // Up to 5849
|
||||||
{ 0x87, 0xFF },
|
{ 0x87, 0xFF },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5233 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_UpdateOverlay
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_UpdateOverlay, 5233, 11)
|
|
||||||
|
|
||||||
// D3DDevice_UpdateOverlay+0x13 : mov [eax+0x17BC], ecx
|
|
||||||
{ 0x13, 0x89 },
|
|
||||||
{ 0x14, 0x88 },
|
|
||||||
{ 0x15, 0xBC },
|
|
||||||
{ 0x16, 0x17 },
|
|
||||||
|
|
||||||
// D3DDevice_UpdateOverlay+0x92 : and eax, 0xFFFFFFFE
|
|
||||||
{ 0x92, 0x83 },
|
|
||||||
{ 0x93, 0xE0 },
|
|
||||||
{ 0x94, 0xFE },
|
|
||||||
|
|
||||||
// D3DDevice_UpdateOverlay+0xB0 : mov [esi+0x8930], eax
|
|
||||||
{ 0xB0, 0x89 },
|
|
||||||
{ 0xB1, 0x86 },
|
|
||||||
{ 0xB2, 0x30 },
|
|
||||||
{ 0xB3, 0x89 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetOverlayUpdateStatus
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetOverlayUpdateStatus, 5233, 12)
|
|
||||||
|
|
||||||
// D3DDevice_GetOverlayUpdateStatus+0x05 : mov ecx, [eax+0x1FB0]
|
|
||||||
{ 0x05, 0x8B },
|
|
||||||
{ 0x06, 0x88 },
|
|
||||||
{ 0x07, 0xB0 },
|
|
||||||
{ 0x08, 0x1F },
|
|
||||||
|
|
||||||
// D3DDevice_GetOverlayUpdateStatus+0x0C : mov esi, [eax+0x1988]
|
|
||||||
{ 0x0C, 0x8B },
|
|
||||||
{ 0x0D, 0xB0 },
|
|
||||||
{ 0x0E, 0x88 },
|
|
||||||
{ 0x0F, 0x19 },
|
|
||||||
|
|
||||||
// D3DDevice_GetOverlayUpdateStatus+0x16 : setnz dl
|
|
||||||
{ 0x16, 0x0F },
|
|
||||||
{ 0x17, 0x95 },
|
|
||||||
{ 0x18, 0xC2 },
|
|
||||||
|
|
||||||
// D3DDevice_GetOverlayUpdateStatus+0x1C : retn
|
|
||||||
{ 0x1C, 0xC3 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_BlockUntilVerticalBlank
|
// * D3DDevice_BlockUntilVerticalBlank
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -305,79 +77,6 @@ OOVPA_NO_XREF(D3DDevice_BlockUntilVerticalBlank, 5233, 11)
|
||||||
{ 0x23, 0xC3 },
|
{ 0x23, 0xC3 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * IDirectD3DDevice8_Release
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_Release, 5233, 8)
|
|
||||||
|
|
||||||
{ 0x07, 0x8B },
|
|
||||||
{ 0x0C, 0x00 },
|
|
||||||
{ 0x13, 0xCF },
|
|
||||||
{ 0x1A, 0x10 },
|
|
||||||
{ 0x21, 0x05 },
|
|
||||||
{ 0x28, 0x00 },
|
|
||||||
{ 0x2F, 0x89 },
|
|
||||||
{ 0x36, 0xC3 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // Moved to 5120
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_CopyRects
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_CopyRects, 5120, 8)
|
|
||||||
|
|
||||||
{ 0x1E, 0xE1 },
|
|
||||||
{ 0x42, 0x84 },
|
|
||||||
{ 0x5E, 0x24 },
|
|
||||||
{ 0x7E, 0x8B },
|
|
||||||
{ 0x9E, 0x1C },
|
|
||||||
{ 0xBE, 0x00 },
|
|
||||||
{ 0xDE, 0xBD },
|
|
||||||
{ 0xFE, 0x4C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetScissors
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetScissors, 5233, 8)
|
|
||||||
|
|
||||||
{ 0x07, 0x2C },
|
|
||||||
{ 0x28, 0x44 },
|
|
||||||
{ 0x60, 0x38 },
|
|
||||||
{ 0x7D, 0x54 },
|
|
||||||
{ 0xAC, 0x03 },
|
|
||||||
{ 0xB8, 0xD9 },
|
|
||||||
{ 0xD4, 0x1C },
|
|
||||||
{ 0xFE, 0x4C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4039 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetScreenSpaceOffset
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetScreenSpaceOffset, 5233, 8)
|
|
||||||
|
|
||||||
// D3DDevice_SetScreenSpaceOffset+0x13 : fstp [esi+0x0AA8]
|
|
||||||
{ 0x13, 0xD9 },
|
|
||||||
{ 0x14, 0x9E },
|
|
||||||
{ 0x15, 0xA8 },
|
|
||||||
{ 0x16, 0x0A },
|
|
||||||
|
|
||||||
// D3DDevice_SetScreenSpaceOffset+0x33 : jb +0x05
|
|
||||||
{ 0x33, 0x72 },
|
|
||||||
{ 0x34, 0x05 },
|
|
||||||
|
|
||||||
// D3DDevice_SetScreenSpaceOffset+0x46 : retn 0x08
|
|
||||||
{ 0x46, 0xC2 },
|
|
||||||
{ 0x47, 0x08 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderState_MultiSampleMode
|
// * D3DDevice_SetRenderState_MultiSampleMode
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -409,149 +108,6 @@ OOVPA_NO_XREF(D3DDevice_SetRenderState_MultiSampleMode, 5233, 13)
|
||||||
{ 0x26, 0x00 },
|
{ 0x26, 0x00 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4627 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_MultiSampleRenderTargetMode
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_SetRenderState_MultiSampleRenderTargetMode, 5233, 1+7,
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x0B, XREF_D3DRS_MULTISAMPLERENDERTARGETMODE ), // Derived
|
|
||||||
|
|
||||||
{ 0x03, 0x04 },
|
|
||||||
{ 0x0F, 0x8B },
|
|
||||||
{ 0x15, 0x3B },
|
|
||||||
{ 0x1C, 0x14 },
|
|
||||||
{ 0x1D, 0x8D },
|
|
||||||
{ 0x2C, 0xE8 },
|
|
||||||
{ 0x32, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5028 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3D::CommonSetRenderTarget
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3D_CommonSetRenderTarget, 5233, 8,
|
|
||||||
|
|
||||||
XREF_D3D_CommonSetRenderTarget,
|
|
||||||
XRefZero)
|
|
||||||
|
|
||||||
{ 0x02, 0x1C },
|
|
||||||
{ 0x20, 0x30 },
|
|
||||||
{ 0x6B, 0x06 },
|
|
||||||
{ 0x85, 0x4C },
|
|
||||||
{ 0xA5, 0x10 },
|
|
||||||
{ 0xB8, 0x0C },
|
|
||||||
{ 0xDC, 0xD9 },
|
|
||||||
{ 0xFF, 0x75 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_BlockOnFence
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_BlockOnFence, 5233, 1+5,
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x08, XREF_D3D_BlockOnTime ),
|
|
||||||
|
|
||||||
{ 0x00, 0x8B },
|
|
||||||
{ 0x02, 0x24 },
|
|
||||||
{ 0x04, 0x6A },
|
|
||||||
{ 0x06, 0x50 },
|
|
||||||
{ 0x0D, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetPalette
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_SetPalette, 5233, 1+12,
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x10, XREF_OFFSET_D3DDEVICE_M_PALETTES ), // Derived
|
|
||||||
|
|
||||||
// D3DDevice_SetPalette+0x0D : mov eax, [edi+esi*4+0x0A88]
|
|
||||||
{ 0x0D, 0x8B },
|
|
||||||
{ 0x0E, 0x84 },
|
|
||||||
{ 0x0F, 0xBE },
|
|
||||||
{ 0x10, 0x48 },
|
|
||||||
{ 0x11, 0x0B },
|
|
||||||
|
|
||||||
// D3DDevice_SetPalette+0x51 : add ebp, 0x80000
|
|
||||||
{ 0x51, 0x81 },
|
|
||||||
{ 0x52, 0xC5 },
|
|
||||||
{ 0x53, 0x00 },
|
|
||||||
{ 0x54, 0x00 },
|
|
||||||
{ 0x55, 0x08 },
|
|
||||||
|
|
||||||
// D3DDevice_SetPalette+0x8A : retn 0x08
|
|
||||||
{ 0x8A, 0xC2 },
|
|
||||||
{ 0x8B, 0x08 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetFlickerFilter
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetFlickerFilter, 5233, 12)
|
|
||||||
|
|
||||||
// D3DDevice_SetFlickerFilter+0x1C : mov eax, [eax+0x17C8]
|
|
||||||
{ 0x1C, 0x8B },
|
|
||||||
{ 0x1D, 0x80 },
|
|
||||||
{ 0x1E, 0xC8 },
|
|
||||||
{ 0x1F, 0x17 },
|
|
||||||
|
|
||||||
// D3DDevice_SetFlickerFilter+0x22 : push 0; push esi; push 0x0B; push eax
|
|
||||||
{ 0x22, 0x6A },
|
|
||||||
{ 0x23, 0x00 },
|
|
||||||
{ 0x24, 0x56 },
|
|
||||||
{ 0x25, 0x6A },
|
|
||||||
{ 0x26, 0x0B },
|
|
||||||
{ 0x27, 0x50 },
|
|
||||||
|
|
||||||
// D3DDevice_SetFlickerFilter+0x3F : retn 0x04
|
|
||||||
{ 0x3F, 0xC2 },
|
|
||||||
{ 0x40, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4134 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetFlickerFilter
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetSoftDisplayFilter, 5233, 12)
|
|
||||||
|
|
||||||
// D3DDevice_SetSoftDisplayFilter+0x25 : mov edx, [eax+0x17C8]
|
|
||||||
{ 0x25, 0x8B },
|
|
||||||
{ 0x26, 0x90 },
|
|
||||||
{ 0x27, 0xC8 },
|
|
||||||
{ 0x28, 0x17 },
|
|
||||||
|
|
||||||
// D3DDevice_SetSoftDisplayFilter+0x2B : push 0; push esi; push 0x0E; push edx
|
|
||||||
{ 0x2B, 0x6A },
|
|
||||||
{ 0x2C, 0x00 },
|
|
||||||
{ 0x2D, 0x56 },
|
|
||||||
{ 0x2E, 0x6A },
|
|
||||||
{ 0x2F, 0x0E },
|
|
||||||
{ 0x30, 0x52 },
|
|
||||||
|
|
||||||
// D3DDevice_SetSoftDisplayFilter+0x4E : retn 0x04
|
|
||||||
{ 0x4E, 0xC2 },
|
|
||||||
{ 0x4F, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetVerticalBlankCallback
|
// * D3DDevice_SetVerticalBlankCallback
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -604,22 +160,6 @@ OOVPA_NO_XREF(D3DDevice_SetSwapCallback, 5233, 12)
|
||||||
{ 0x11, 0x04 },
|
{ 0x11, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4039 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetVertexData4f
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetVertexData4f, 5233, 7)
|
|
||||||
|
|
||||||
{ 0x0A, 0x46 },
|
|
||||||
{ 0x16, 0x08 },
|
|
||||||
{ 0x22, 0x09 },
|
|
||||||
{ 0x2E, 0x24 },
|
|
||||||
{ 0x3A, 0x24 },
|
|
||||||
{ 0x46, 0x8B },
|
|
||||||
{ 0x52, 0x14 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderTargetFast
|
// * D3DDevice_SetRenderTargetFast
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -697,37 +237,3 @@ OOVPA_NO_XREF(D3DDevice_GetVisibilityTestResult, 5233, 7)
|
||||||
{ 0x51, 0x0A },
|
{ 0x51, 0x0A },
|
||||||
{ 0x5F, 0x0C },
|
{ 0x5F, 0x0C },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4831 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetPixelShaderConstant
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetPixelShaderConstant, 5233, 9)
|
|
||||||
|
|
||||||
{ 0x1A, 0x0C },
|
|
||||||
{ 0x1B, 0x8B },
|
|
||||||
{ 0x1C, 0x45 },
|
|
||||||
{ 0x1D, 0x10 },
|
|
||||||
{ 0x1E, 0x85 },
|
|
||||||
{ 0x5B, 0xF3 },
|
|
||||||
{ 0x60, 0xE0 },
|
|
||||||
{ 0x64, 0xC0 },
|
|
||||||
{ 0x68, 0x2D },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4134 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_EndPushBuffer
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_EndPushBuffer, 5233, 7)
|
|
||||||
|
|
||||||
{ 0x11, 0x8D },
|
|
||||||
{ 0x22, 0x50 },
|
|
||||||
{ 0x34, 0x0C },
|
|
||||||
{ 0x46, 0x08 },
|
|
||||||
{ 0x58, 0x00 },
|
|
||||||
{ 0x6D, 0x8B },
|
|
||||||
{ 0x7C, 0x88 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -32,104 +32,6 @@
|
||||||
// *
|
// *
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
||||||
#if 0 // Moved to 5028
|
|
||||||
// ******************************************************************
|
|
||||||
// * Direct3D_CreateDevice
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(Direct3D_CreateDevice, 5344, 20) // ONLY for 5344, 5558 and later use generic 3911 version
|
|
||||||
{ 0x00, 0x55 },
|
|
||||||
{ 0x01, 0x8B },
|
|
||||||
{ 0x02, 0xEC },
|
|
||||||
{ 0x03, 0xA1 },
|
|
||||||
|
|
||||||
{ 0x08, 0x85 },
|
|
||||||
{ 0x09, 0xC0 },
|
|
||||||
{ 0x0A, 0x75 },
|
|
||||||
{ 0x0B, 0x0A },
|
|
||||||
{ 0x0C, 0xC7 },
|
|
||||||
{ 0x0D, 0x05 },
|
|
||||||
|
|
||||||
{ 0x12, 0x00 },
|
|
||||||
{ 0x13, 0x00 },
|
|
||||||
{ 0x14, 0x08 },
|
|
||||||
{ 0x15, 0x00 },
|
|
||||||
{ 0x16, 0xA1 },
|
|
||||||
|
|
||||||
{ 0x1B, 0x85 },
|
|
||||||
{ 0x1C, 0xC0 },
|
|
||||||
{ 0x1D, 0x75 },
|
|
||||||
{ 0x1E, 0x0A },
|
|
||||||
{ 0x1F, 0xC7 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // Moved to 5028
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3D_MakeRequestedSpace
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3D_MakeRequestedSpace, 5344, 28,
|
|
||||||
|
|
||||||
XREF_D3D_MakeRequestedSpace,
|
|
||||||
XRefZero)
|
|
||||||
|
|
||||||
{ 0x00, 0x83 },
|
|
||||||
{ 0x01, 0xEC },
|
|
||||||
{ 0x02, 0x08 },
|
|
||||||
{ 0x03, 0x56 },
|
|
||||||
{ 0x04, 0x8B },
|
|
||||||
{ 0x05, 0x35 },
|
|
||||||
|
|
||||||
{ 0x0A, 0xF6 },
|
|
||||||
{ 0x0B, 0x46 },
|
|
||||||
{ 0x0C, 0x08 },
|
|
||||||
{ 0x0D, 0x04 },
|
|
||||||
{ 0x0E, 0x8B },
|
|
||||||
{ 0x0F, 0x0E },
|
|
||||||
{ 0x10, 0x57 },
|
|
||||||
{ 0x11, 0x74 },
|
|
||||||
{ 0x12, 0x26 },
|
|
||||||
{ 0x13, 0x8B },
|
|
||||||
{ 0x14, 0x86 },
|
|
||||||
{ 0x15, 0x4C },
|
|
||||||
{ 0x16, 0x03 },
|
|
||||||
{ 0x17, 0x00 },
|
|
||||||
{ 0x18, 0x00 },
|
|
||||||
{ 0x19, 0x8B },
|
|
||||||
{ 0x1A, 0x78 },
|
|
||||||
{ 0x1B, 0x04 },
|
|
||||||
{ 0x1C, 0x8B },
|
|
||||||
{ 0x1D, 0x96 },
|
|
||||||
{ 0x1E, 0x50 },
|
|
||||||
{ 0x1F, 0x03 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4627 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_Dxt1NoiseEnable
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_Dxt1NoiseEnable, 5344, 10)
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_Dxt1NoiseEnable+0D : mov eax, [edi+XXXXh]
|
|
||||||
{ 0x0D, 0x8B },
|
|
||||||
{ 0x0E, 0x87 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_Dxt1NoiseEnable+1D : and dl, 3Ch
|
|
||||||
{ 0x1D, 0x80 },
|
|
||||||
{ 0x1E, 0xE2 },
|
|
||||||
{ 0x1F, 0x3C },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_Dxt1NoiseEnable+20 : xor esi, esi
|
|
||||||
{ 0x20, 0x33 },
|
|
||||||
{ 0x21, 0xF6 },
|
|
||||||
|
|
||||||
// D3DDevice_SetRenderState_Dxt1NoiseEnable+22 : cmp dl, 20h
|
|
||||||
{ 0x22, 0x80 },
|
|
||||||
{ 0x23, 0xFA },
|
|
||||||
{ 0x24, 0x20 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetLight
|
// * D3DDevice_SetLight
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -166,23 +68,6 @@ OOVPA_XREF(D3DDevice_SetLight, 5344, 15,
|
||||||
{ 0x100, 0x02 },
|
{ 0x100, 0x02 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5344 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetLight
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetLight, 5344, 8)
|
|
||||||
|
|
||||||
{ 0x1E, 0x00 },
|
|
||||||
{ 0x3E, 0x89 },
|
|
||||||
{ 0x5E, 0x00 },
|
|
||||||
{ 0x7E, 0x03 },
|
|
||||||
{ 0x9E, 0xC8 },
|
|
||||||
{ 0xBE, 0xC9 },
|
|
||||||
{ 0xDE, 0x03 },
|
|
||||||
{ 0xFE, 0xC1 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderState_MultiSampleRenderTargetMode
|
// * D3DDevice_SetRenderState_MultiSampleRenderTargetMode
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -230,54 +115,6 @@ OOVPA_NO_XREF(D3DDevice_SetRenderState_TwoSidedLighting, 5344, 13)
|
||||||
{ 0x7E, 0x04 },
|
{ 0x7E, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4039 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetScreenSpaceOffset
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetScreenSpaceOffset, 5344, 7)
|
|
||||||
|
|
||||||
{ 0x08, 0x44 },
|
|
||||||
{ 0x12, 0xCE },
|
|
||||||
{ 0x1F, 0xD8 },
|
|
||||||
{ 0x26, 0x0A },
|
|
||||||
{ 0x30, 0x3B },
|
|
||||||
{ 0x3A, 0x8B },
|
|
||||||
{ 0x44, 0x06 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetViewport
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetViewport, 5344, 7)
|
|
||||||
|
|
||||||
{ 0x05, 0x56 },
|
|
||||||
{ 0x06, 0x57 },
|
|
||||||
{ 0x0A, 0x0C },
|
|
||||||
{ 0x0E, 0x0A },
|
|
||||||
{ 0x12, 0x06 },
|
|
||||||
{ 0x16, 0xF3 },
|
|
||||||
{ 0x1A, 0xC2 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4627 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetBackBuffer2
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetBackBuffer2, 5344, 7)
|
|
||||||
|
|
||||||
{ 0x07, 0x8B },
|
|
||||||
{ 0x10, 0x01 },
|
|
||||||
{ 0x19, 0x15 },
|
|
||||||
{ 0x22, 0x8B },
|
|
||||||
{ 0x2B, 0xC0 },
|
|
||||||
{ 0x34, 0x15 },
|
|
||||||
{ 0x3D, 0x8B },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_LightEnable
|
// * D3DDevice_LightEnable
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -375,32 +212,6 @@ OOVPA_XREF(D3DDevice_GetLightEnable, 5344, 1+26,
|
||||||
*/
|
*/
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4134 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetSoftDisplayFilter
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetSoftDisplayFilter, 5344, 12)
|
|
||||||
|
|
||||||
// D3DDevice_SetSoftDisplayFilter+0x25 : mov edx, [eax+0x17F8]
|
|
||||||
{ 0x25, 0x8B },
|
|
||||||
{ 0x26, 0x90 },
|
|
||||||
{ 0x27, 0xF8 },
|
|
||||||
{ 0x28, 0x17 },
|
|
||||||
|
|
||||||
// D3DDevice_SetSoftDisplayFilter+0x2B : push 0; push esi; push 0x0E; push edx
|
|
||||||
{ 0x2B, 0x6A },
|
|
||||||
{ 0x2C, 0x00 },
|
|
||||||
{ 0x2D, 0x56 },
|
|
||||||
{ 0x2E, 0x6A },
|
|
||||||
{ 0x2F, 0x0E },
|
|
||||||
{ 0x30, 0x52 },
|
|
||||||
|
|
||||||
// D3DDevice_SetSoftDisplayFilter+0x4E : retn 0x04
|
|
||||||
{ 0x4E, 0xC2 },
|
|
||||||
{ 0x4F, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetMaterial
|
// * D3DDevice_SetMaterial
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -421,74 +232,6 @@ OOVPA_NO_XREF(D3DDevice_SetMaterial, 5344, 11)
|
||||||
{ 0x2E, 0x04 },
|
{ 0x2E, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic another 5344 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetMaterial
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetMaterial, 5344, 9)
|
|
||||||
|
|
||||||
{ 0x04, 0x08 },
|
|
||||||
{ 0x0C, 0x81 },
|
|
||||||
{ 0x0E, 0xE0 },
|
|
||||||
{ 0x10, 0x00 },
|
|
||||||
{ 0x16, 0x00 },
|
|
||||||
{ 0x1F, 0x81 },
|
|
||||||
{ 0x22, 0x90 },
|
|
||||||
{ 0x2C, 0x5E },
|
|
||||||
{ 0x2E, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * Get2DSurfaceDesc
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(Get2DSurfaceDesc, 5344, 10)
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0x2B : movzx edx, byte ptr [edi+0x0D]
|
|
||||||
{ 0x2B, 0x0F },
|
|
||||||
{ 0x2C, 0xB6 },
|
|
||||||
{ 0x2D, 0x57 },
|
|
||||||
{ 0x2E, 0x0D },
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0x52 : mov edx, [eax+0x15F4]
|
|
||||||
{ 0x52, 0x8B },
|
|
||||||
{ 0x53, 0x90 },
|
|
||||||
{ 0x54, 0xF4 },
|
|
||||||
{ 0x55, 0x15 },
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0xAE : retn 0x0C
|
|
||||||
{ 0xAE, 0xC2 },
|
|
||||||
{ 0xAF, 0x0C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetFlickerFilter
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetFlickerFilter, 5344, 12)
|
|
||||||
|
|
||||||
// D3DDevice_SetFlickerFilter+0x1C : mov eax, [eax+0x17C8]
|
|
||||||
{ 0x1C, 0x8B },
|
|
||||||
{ 0x1D, 0x80 },
|
|
||||||
{ 0x1E, 0xF8 },
|
|
||||||
{ 0x1F, 0x17 },
|
|
||||||
|
|
||||||
// D3DDevice_SetFlickerFilter+0x22 : push 0; push esi; push 0x0B; push eax
|
|
||||||
{ 0x22, 0x6A },
|
|
||||||
{ 0x23, 0x00 },
|
|
||||||
{ 0x24, 0x56 },
|
|
||||||
{ 0x25, 0x6A },
|
|
||||||
{ 0x26, 0x0B },
|
|
||||||
{ 0x27, 0x50 },
|
|
||||||
|
|
||||||
// D3DDevice_SetFlickerFilter+0x3F : retn 0x04
|
|
||||||
{ 0x3F, 0xC2 },
|
|
||||||
{ 0x40, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetViewport
|
// * D3DDevice_SetViewport
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -528,24 +271,6 @@ OOVPA_NO_XREF(D3DDevice_SetTransform, 5344, 15)
|
||||||
{ 0x35, 0x35 },
|
{ 0x35, 0x35 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5344 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetTransform
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetTransform, 5344, 9)
|
|
||||||
|
|
||||||
{ 0x01, 0x44 },
|
|
||||||
{ 0x1E, 0x8B },
|
|
||||||
{ 0x3E, 0x00 },
|
|
||||||
{ 0x5E, 0xC4 },
|
|
||||||
{ 0x7E, 0x62 },
|
|
||||||
{ 0x9E, 0x00 },
|
|
||||||
{ 0xBE, 0x42 },
|
|
||||||
{ 0xDE, 0x42 },
|
|
||||||
{ 0xFE, 0xCB },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetScissors
|
// * D3DDevice_SetScissors
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -589,40 +314,6 @@ OOVPA_NO_XREF(D3DDevice_SetSwapCallback, 5344, 7)
|
||||||
{ 0x10, 0xC2 },
|
{ 0x10, 0xC2 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5233 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderTargetFast
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderTargetFast, 5344, 8)
|
|
||||||
|
|
||||||
{ 0x1D, 0xC9 },
|
|
||||||
{ 0x3C, 0x89 },
|
|
||||||
{ 0x5F, 0x8B },
|
|
||||||
{ 0x7A, 0x04 },
|
|
||||||
{ 0x99, 0x04 },
|
|
||||||
{ 0xB8, 0x02 },
|
|
||||||
{ 0xD7, 0x0C },
|
|
||||||
{ 0xF6, 0xC5 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4039 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SelectVertexShader
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SelectVertexShader, 5344, 8)
|
|
||||||
|
|
||||||
{ 0x0E, 0x49 },
|
|
||||||
{ 0x10, 0x8D },
|
|
||||||
{ 0x14, 0x86 },
|
|
||||||
{ 0x18, 0x00 },
|
|
||||||
{ 0x1C, 0x03 },
|
|
||||||
{ 0x36, 0x4F },
|
|
||||||
{ 0x38, 0x83 },
|
|
||||||
{ 0x3C, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderTarget
|
// * D3DDevice_SetRenderTarget
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -647,58 +338,6 @@ OOVPA_XREF(D3DDevice_SetRenderTarget, 5344, 1+9,
|
||||||
{ 0x34, 0x14 },
|
{ 0x34, 0x14 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetPalette
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_SetPalette, 5344, 1+12,
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x10, XREF_OFFSET_D3DDEVICE_M_PALETTES ), // Derived
|
|
||||||
|
|
||||||
// D3DDevice_SetPalette+0x0D : mov eax, [esi+edi*4+0B78h]
|
|
||||||
{ 0x0D, 0x8B },
|
|
||||||
{ 0x0E, 0x84 },
|
|
||||||
{ 0x0F, 0xBE },
|
|
||||||
{ 0x10, 0x78 },
|
|
||||||
{ 0x11, 0x0B },
|
|
||||||
|
|
||||||
// D3DDevice_SetPalette+0x51 : add ebp, 0x80000
|
|
||||||
{ 0x51, 0x81 },
|
|
||||||
{ 0x52, 0xC5 },
|
|
||||||
{ 0x53, 0x00 },
|
|
||||||
{ 0x54, 0x00 },
|
|
||||||
{ 0x55, 0x08 },
|
|
||||||
|
|
||||||
// D3DDevice_SetPalette+0x8A : retn 0x08
|
|
||||||
{ 0x8A, 0xC2 },
|
|
||||||
{ 0x8B, 0x08 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5028 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_IsBusy
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_IsBusy, 5344, 12)
|
|
||||||
|
|
||||||
{ 0x05, 0x8B },
|
|
||||||
{ 0x09, 0x00 },
|
|
||||||
{ 0x0A, 0x00 },
|
|
||||||
{ 0x0B, 0x8B },
|
|
||||||
{ 0x0C, 0x88 },
|
|
||||||
{ 0x0D, 0x40 },
|
|
||||||
{ 0x0E, 0x32 },
|
|
||||||
{ 0x0F, 0x00 },
|
|
||||||
{ 0x10, 0x00 },
|
|
||||||
{ 0x14, 0x32 },
|
|
||||||
{ 0x18, 0x06 },
|
|
||||||
{ 0x1C, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_CreateVertexBuffer2
|
// * D3DDevice_CreateVertexBuffer2
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -758,47 +397,6 @@ OOVPA_NO_XREF(D3DDevice_DrawVerticesUP, 5344, 16)
|
||||||
{ 0x51, 0x8B },
|
{ 0x51, 0x8B },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5344 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_DrawVerticesUP
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_DrawVerticesUP, 5344, 10)
|
|
||||||
|
|
||||||
// D3DDevice_DrawVerticesUP+0x03 : sub esp, 0x14
|
|
||||||
{ 0x03, 0x83 },
|
|
||||||
{ 0x04, 0xEC },
|
|
||||||
{ 0x05, 0x14 },
|
|
||||||
|
|
||||||
// D3DDevice_DrawVerticesUP+0x37 : mov edx, [edi+834h]
|
|
||||||
{ 0x37, 0x8B },
|
|
||||||
{ 0x38, 0x97 },
|
|
||||||
{ 0x39, 0x34 },
|
|
||||||
{ 0x3A, 0x08 },
|
|
||||||
|
|
||||||
// D3DDevice_DrawVerticesUP+0xC4 : cmp esi, 0x80
|
|
||||||
{ 0xC4, 0x81 },
|
|
||||||
{ 0xC5, 0xFE },
|
|
||||||
{ 0xC6, 0x80 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // Used 4361
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetVertexDataColor
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetVertexDataColor, 5344, 8)
|
|
||||||
|
|
||||||
{ 0x08, 0x06 },
|
|
||||||
{ 0x0C, 0x57 },
|
|
||||||
{ 0x0F, 0xE8 },
|
|
||||||
{ 0x15, 0x4C },
|
|
||||||
{ 0x19, 0x14 },
|
|
||||||
{ 0x1A, 0x8D },
|
|
||||||
{ 0x1B, 0x40 },
|
|
||||||
{ 0x1C, 0x19 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_End
|
// * D3DDevice_End
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -823,24 +421,6 @@ OOVPA_NO_XREF(D3DDevice_End, 5344, 14)
|
||||||
{ 0x40, 0xC3 },
|
{ 0x40, 0xC3 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5344 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_End
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_End, 5344, 9)
|
|
||||||
|
|
||||||
{ 0x08, 0x06 },
|
|
||||||
{ 0x0A, 0x46 },
|
|
||||||
{ 0x0E, 0xE8 },
|
|
||||||
{ 0x15, 0xFC },
|
|
||||||
{ 0x17, 0x04 },
|
|
||||||
{ 0x19, 0xC7 },
|
|
||||||
{ 0x1A, 0x40 },
|
|
||||||
{ 0x1B, 0x04 },
|
|
||||||
{ 0x40, 0xC3 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_CreatePixelShader
|
// * D3DDevice_CreatePixelShader
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -866,120 +446,6 @@ OOVPA_NO_XREF(D3DDevice_CreatePixelShader, 5344, 11)
|
||||||
{ 0x46, 0x08 },
|
{ 0x46, 0x08 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // Moved to 5233
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetPixelShaderConstant
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetPixelShaderConstant, 5344, 9)
|
|
||||||
|
|
||||||
{ 0x1A, 0x0C },
|
|
||||||
{ 0x1B, 0x8B },
|
|
||||||
{ 0x1C, 0x45 },
|
|
||||||
{ 0x1D, 0x10 },
|
|
||||||
{ 0x1E, 0x85 },
|
|
||||||
{ 0x5B, 0xF3 },
|
|
||||||
{ 0x60, 0xE0 },
|
|
||||||
{ 0x64, 0xC0 },
|
|
||||||
{ 0x68, 0x2D },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetOverlayUpdateStatus
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetOverlayUpdateStatus, 5344, 12)
|
|
||||||
|
|
||||||
// D3DDevice_GetOverlayUpdateStatus+0x05 : mov ecx, [eax+1FE0h]
|
|
||||||
{ 0x05, 0x8B },
|
|
||||||
{ 0x06, 0x88 },
|
|
||||||
{ 0x07, 0xE0 },
|
|
||||||
{ 0x08, 0x1F },
|
|
||||||
|
|
||||||
// D3DDevice_GetOverlayUpdateStatus+0x0C : mov esi, [eax+19B8h]
|
|
||||||
{ 0x0C, 0x8B },
|
|
||||||
{ 0x0D, 0xB0 },
|
|
||||||
{ 0x0E, 0xB8 },
|
|
||||||
{ 0x0F, 0x19 },
|
|
||||||
|
|
||||||
// D3DDevice_GetOverlayUpdateStatus+0x16 : setnz dl
|
|
||||||
{ 0x16, 0x0F },
|
|
||||||
{ 0x17, 0x95 },
|
|
||||||
{ 0x18, 0xC2 },
|
|
||||||
|
|
||||||
// D3DDevice_GetOverlayUpdateStatus+0x1C : retn
|
|
||||||
{ 0x1C, 0xC3 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5233 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_UpdateOverlay
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_UpdateOverlay, 5344, 10)
|
|
||||||
|
|
||||||
{ 0x0A, 0xB8 },
|
|
||||||
{ 0x13, 0x89 },
|
|
||||||
{ 0x14, 0x88 },
|
|
||||||
{ 0x15, 0xF0 },
|
|
||||||
{ 0x16, 0x17 },
|
|
||||||
{ 0x74, 0x4F },
|
|
||||||
{ 0x79, 0x44 },
|
|
||||||
{ 0x7D, 0x40 },
|
|
||||||
{ 0x80, 0xE1 },
|
|
||||||
{ 0x84, 0xCA },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * IDirectD3DDevice8_Release
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_Release, 5344, 8)
|
|
||||||
|
|
||||||
{ 0x07, 0x8B },
|
|
||||||
{ 0x0C, 0x00 },
|
|
||||||
{ 0x13, 0xCF },
|
|
||||||
{ 0x1A, 0x1C },
|
|
||||||
{ 0x21, 0x05 },
|
|
||||||
{ 0x28, 0x00 },
|
|
||||||
{ 0x2F, 0x89 },
|
|
||||||
{ 0x36, 0xC3 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // Moved to 5233
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetVisibilityTestResult
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetVisibilityTestResult, 5344, 7)
|
|
||||||
|
|
||||||
{ 0x0E, 0x08 },
|
|
||||||
{ 0x10, 0xFF },
|
|
||||||
{ 0x2A, 0x16 },
|
|
||||||
{ 0x3C, 0x76 },
|
|
||||||
{ 0x3F, 0x0C },
|
|
||||||
{ 0x51, 0x0A },
|
|
||||||
{ 0x5F, 0x0C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4831 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_PersistDisplay
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_PersistDisplay, 5344, 7)
|
|
||||||
|
|
||||||
{ 0x1E, 0x15 },
|
|
||||||
{ 0x3A, 0xAB },
|
|
||||||
{ 0x3B, 0xF8 },
|
|
||||||
{ 0x3C, 0x17 },
|
|
||||||
{ 0x3D, 0x00 },
|
|
||||||
{ 0x4E, 0xF5 },
|
|
||||||
{ 0x6E, 0x01 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_DeleteVertexShader
|
// * D3DDevice_DeleteVertexShader
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1040,23 +506,6 @@ OOVPA_NO_XREF(D3DDevice_GetMaterial, 5344, 8)
|
||||||
{ 0x1A, 0xC2 },
|
{ 0x1A, 0xC2 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4627 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DPalette_Lock
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DPalette_Lock, 5344, 8)
|
|
||||||
|
|
||||||
{ 0x04, 0x8B },
|
|
||||||
{ 0x0A, 0xE8 },
|
|
||||||
{ 0x13, 0x89 },
|
|
||||||
{ 0x14, 0x02 },
|
|
||||||
{ 0x15, 0x33 },
|
|
||||||
{ 0x16, 0xC0 },
|
|
||||||
{ 0x17, 0xC2 },
|
|
||||||
{ 0x18, 0x0C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_GetBackMaterial
|
// * D3DDevice_GetBackMaterial
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1092,23 +541,6 @@ OOVPA_NO_XREF(D3DDevice_SetBackMaterial, 5344, 11)
|
||||||
{ 0x2E, 0x04 },
|
{ 0x2E, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by another 5344 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetBackMaterial
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetBackMaterial, 5344, 8)
|
|
||||||
|
|
||||||
{ 0x04, 0x08 },
|
|
||||||
{ 0x0C, 0x81 },
|
|
||||||
{ 0x0E, 0x24 },
|
|
||||||
{ 0x10, 0x00 },
|
|
||||||
{ 0x16, 0x00 },
|
|
||||||
{ 0x1F, 0x81 },
|
|
||||||
{ 0x2C, 0x5E },
|
|
||||||
{ 0x2E, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_GetProjectionViewportMatrix
|
// * D3DDevice_GetProjectionViewportMatrix
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1134,41 +566,6 @@ OOVPA_NO_XREF(D3DDevice_GetProjectionViewportMatrix, 5344, 16) // Up to 5455
|
||||||
{ 0x1B, 0xC2 },
|
{ 0x1B, 0xC2 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5344 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetProjectionViewportMatrix
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetProjectionViewportMatrix, 5344, 7)
|
|
||||||
|
|
||||||
{ 0x02, 0x35 },
|
|
||||||
{ 0x07, 0x57 },
|
|
||||||
{ 0x0A, 0x24 },
|
|
||||||
{ 0x0E, 0x60 },
|
|
||||||
{ 0x12, 0xB9 },
|
|
||||||
{ 0x16, 0x00 },
|
|
||||||
{ 0x1A, 0x5E },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetTile
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetTile, 5344, 10)
|
|
||||||
|
|
||||||
{ 0x05, 0x0D },
|
|
||||||
{ 0x0A, 0x56 },
|
|
||||||
{ 0x0B, 0x57 },
|
|
||||||
{ 0x0C, 0x8B },
|
|
||||||
{ 0x0D, 0x7C },
|
|
||||||
{ 0x0E, 0x24 },
|
|
||||||
{ 0x0F, 0x10 },
|
|
||||||
{ 0x10, 0x8D },
|
|
||||||
{ 0x11, 0x04 },
|
|
||||||
{ 0x1F, 0xF3 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_CreateIndexBuffer2
|
// * D3DDevice_CreateIndexBuffer2
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1186,48 +583,6 @@ OOVPA_XREF(D3DDevice_CreateIndexBuffer2, 5344, 7,
|
||||||
{ 0x2F, 0x48 },
|
{ 0x2F, 0x48 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4831 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetTexture
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3DDevice_SetTexture, 5344, 1+26, // Also for 5558, 5659, 5788, 5849, 5933
|
|
||||||
|
|
||||||
XRefNoSaveIndex,
|
|
||||||
XRefOne)
|
|
||||||
|
|
||||||
XREF_ENTRY( 0x13, XREF_OFFSET_D3DDEVICE_M_TEXTURES ), // Derived
|
|
||||||
|
|
||||||
{ 0x00, 0x83 },
|
|
||||||
{ 0x01, 0xEC },
|
|
||||||
{ 0x02, 0x08 },
|
|
||||||
{ 0x03, 0x53 },
|
|
||||||
{ 0x04, 0x55 },
|
|
||||||
{ 0x05, 0x8B },
|
|
||||||
{ 0x06, 0x2D },
|
|
||||||
|
|
||||||
{ 0x0B, 0x56 },
|
|
||||||
{ 0x0C, 0x8B },
|
|
||||||
{ 0x0D, 0x74 },
|
|
||||||
{ 0x0E, 0x24 },
|
|
||||||
{ 0x0F, 0x18 },
|
|
||||||
{ 0x10, 0x8B },
|
|
||||||
{ 0x11, 0x84 },
|
|
||||||
{ 0x12, 0xB5 },
|
|
||||||
|
|
||||||
{ 0x15, 0x00 },
|
|
||||||
{ 0x16, 0x00 },
|
|
||||||
{ 0x17, 0x85 },
|
|
||||||
{ 0x18, 0xC0 },
|
|
||||||
{ 0x19, 0x89 },
|
|
||||||
{ 0x1A, 0x6C },
|
|
||||||
{ 0x1B, 0x24 },
|
|
||||||
{ 0x1C, 0x0C },
|
|
||||||
{ 0x1D, 0x89 },
|
|
||||||
{ 0x1E, 0x44 },
|
|
||||||
{ 0x1F, 0x24 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_BlockUntilVerticalBlank
|
// * D3DDevice_BlockUntilVerticalBlank
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1253,28 +608,6 @@ OOVPA_NO_XREF(D3DDevice_BlockUntilVerticalBlank, 5344, 11)
|
||||||
{ 0x23, 0xC3 },
|
{ 0x23, 0xC3 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by another 5344 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_BlockUntilVerticalBlank
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_BlockUntilVerticalBlank, 5344, 13)
|
|
||||||
|
|
||||||
{ 0x00, 0xA1 },
|
|
||||||
{ 0x05, 0x6A },
|
|
||||||
{ 0x0F, 0x00 },
|
|
||||||
{ 0x10, 0x00 },
|
|
||||||
{ 0x11, 0x00 },
|
|
||||||
{ 0x12, 0x00 },
|
|
||||||
{ 0x13, 0x00 },
|
|
||||||
{ 0x14, 0x00 },
|
|
||||||
{ 0x15, 0x6A },
|
|
||||||
{ 0x16, 0x06 },
|
|
||||||
{ 0x17, 0x05 },
|
|
||||||
{ 0x1E, 0x15 },
|
|
||||||
{ 0x23, 0xC3 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_BeginPush
|
// * D3DDevice_BeginPush
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -1323,27 +656,6 @@ OOVPA_NO_XREF(D3DDevice_AddRef, 5344, 10)
|
||||||
{ 0x0F, 0x05 },
|
{ 0x0F, 0x05 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by another 4134 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_AddRef
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_AddRef, 5344, 10)
|
|
||||||
|
|
||||||
{ 0x00, 0xA1 },
|
|
||||||
|
|
||||||
{ 0x05, 0x8B },
|
|
||||||
{ 0x09, 0x00 },
|
|
||||||
{ 0x0D, 0x88 },
|
|
||||||
|
|
||||||
{ 0x0F, 0x05 },
|
|
||||||
{ 0x10, 0x00 },
|
|
||||||
{ 0x11, 0x00 },
|
|
||||||
{ 0x12, 0x8B },
|
|
||||||
{ 0x13, 0xC1 },
|
|
||||||
{ 0x14, 0xC3 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_GetShaderConstantMode
|
// * D3DDevice_GetShaderConstantMode
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
|
@ -108,47 +108,6 @@ OOVPA_NO_XREF(D3DDevice_CreatePalette2, 5455, 7)
|
||||||
{ 0x52, 0x89 },
|
{ 0x52, 0x89 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // Moved to 5344
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetMaterial
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetMaterial, 5455, 11)
|
|
||||||
|
|
||||||
{ 0x04, 0x08 },
|
|
||||||
|
|
||||||
{ 0x0C, 0x81 },
|
|
||||||
{ 0x0D, 0xC7 },
|
|
||||||
{ 0x0E, 0xE0 },
|
|
||||||
{ 0x0F, 0x0A },
|
|
||||||
{ 0x10, 0x00 },
|
|
||||||
|
|
||||||
{ 0x16, 0x00 },
|
|
||||||
{ 0x1F, 0x81 },
|
|
||||||
{ 0x22, 0x90 },
|
|
||||||
{ 0x2C, 0x5E },
|
|
||||||
{ 0x2E, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5344 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetMaterial
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetMaterial, 5455, 8)
|
|
||||||
|
|
||||||
{ 0x05, 0x56 },
|
|
||||||
{ 0x06, 0x57 },
|
|
||||||
{ 0x0A, 0x0C },
|
|
||||||
|
|
||||||
{ 0x0D, 0xE0 },
|
|
||||||
{ 0x0E, 0x0A },
|
|
||||||
|
|
||||||
{ 0x12, 0x11 },
|
|
||||||
{ 0x16, 0xF3 },
|
|
||||||
{ 0x1A, 0xC2 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetVertexShader
|
// * D3DDevice_SetVertexShader
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -164,34 +123,6 @@ OOVPA_NO_XREF(D3DDevice_SetVertexShader, 5455, 8)
|
||||||
{ 0xFE, 0xC1 },
|
{ 0xFE, 0xC1 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4627 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetBackBuffer2
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetBackBuffer2, 5455, 12)
|
|
||||||
|
|
||||||
// D3DDevice_GetBackBuffer2+0x04 : cmp eax, 0xFFFFFFFF
|
|
||||||
{ 0x04, 0x83 },
|
|
||||||
{ 0x05, 0xF8 },
|
|
||||||
{ 0x06, 0xFF },
|
|
||||||
|
|
||||||
// D3DDevice_GetBackBuffer2+0x0D : jnz +0x19
|
|
||||||
{ 0x0D, 0x75 },
|
|
||||||
{ 0x0E, 0x19 },
|
|
||||||
|
|
||||||
// D3DDevice_GetBackBuffer2+0x15 : mov esi, [ecx+eax*4+0x15F4]
|
|
||||||
{ 0x15, 0x8B },
|
|
||||||
{ 0x16, 0xB4 },
|
|
||||||
{ 0x17, 0x81 },
|
|
||||||
{ 0x18, 0xF4 },
|
|
||||||
{ 0x19, 0x15 },
|
|
||||||
|
|
||||||
// D3DDevice_GetBackBuffer2+0x40 : retn 0x04
|
|
||||||
{ 0x40, 0xC2 },
|
|
||||||
{ 0x41, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetVerticalBlankCallback
|
// * D3DDevice_SetVerticalBlankCallback
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -277,47 +208,6 @@ OOVPA_XREF(D3DDevice_GetViewport, 5455, 1+17,
|
||||||
{ 0x31, 0x04 },
|
{ 0x31, 0x04 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // Moved to 5344
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetBackMaterial
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetBackMaterial, 5455, 11)
|
|
||||||
|
|
||||||
{ 0x04, 0x08 },
|
|
||||||
|
|
||||||
{ 0x0C, 0x81 },
|
|
||||||
{ 0x0D, 0xC7 },
|
|
||||||
{ 0x0E, 0x24 },
|
|
||||||
{ 0x0F, 0x0B },
|
|
||||||
{ 0x10, 0x00 },
|
|
||||||
|
|
||||||
{ 0x16, 0x00 },
|
|
||||||
{ 0x1F, 0x81 },
|
|
||||||
{ 0x22, 0x90 },
|
|
||||||
{ 0x2C, 0x5E },
|
|
||||||
{ 0x2E, 0x04 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5344 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetBackMaterial
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetBackMaterial, 5455, 8)
|
|
||||||
|
|
||||||
{ 0x05, 0x56 },
|
|
||||||
{ 0x06, 0x57 },
|
|
||||||
{ 0x0A, 0x0C },
|
|
||||||
|
|
||||||
{ 0x0D, 0x24 },
|
|
||||||
{ 0x0E, 0x0B },
|
|
||||||
|
|
||||||
{ 0x12, 0x11 },
|
|
||||||
{ 0x16, 0xF3 },
|
|
||||||
{ 0x1A, 0xC2 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_BlockUntilVerticalBlank
|
// * D3DDevice_BlockUntilVerticalBlank
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -390,42 +280,6 @@ OOVPA_NO_XREF(D3DDevice_PersistDisplay, 5455, 12)
|
||||||
{ 0x6F, 0xE1 },
|
{ 0x6F, 0xE1 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5233 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_MultiSampleMode
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_MultiSampleMode, 5455, 9)
|
|
||||||
|
|
||||||
{ 0x03, 0x04 },
|
|
||||||
{ 0x0A, 0xA3 },
|
|
||||||
{ 0x0F, 0x8B },
|
|
||||||
{ 0x12, 0x15 },
|
|
||||||
{ 0x17, 0xF4 },
|
|
||||||
{ 0x1B, 0x75 },
|
|
||||||
{ 0x1C, 0x07 },
|
|
||||||
{ 0x24, 0xC2 },
|
|
||||||
{ 0x26, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5344 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetRenderState_MultiSampleRenderTargetMode
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetRenderState_MultiSampleRenderTargetMode, 5455, 9)
|
|
||||||
|
|
||||||
{ 0x03, 0x04 },
|
|
||||||
{ 0x0A, 0xA3 },
|
|
||||||
{ 0x0F, 0x8B },
|
|
||||||
{ 0x12, 0x15 },
|
|
||||||
{ 0x17, 0xF4 },
|
|
||||||
{ 0x1B, 0x74 },
|
|
||||||
{ 0x1C, 0x07 },
|
|
||||||
{ 0x24, 0xC2 },
|
|
||||||
{ 0x26, 0x00 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3D_SetTileNoWait
|
// * D3D_SetTileNoWait
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -454,23 +308,6 @@ OOVPA_XREF(D3D_SetTileNoWait, 5455, 16,
|
||||||
{ 0x9B, 0xCB },
|
{ 0x9B, 0xCB },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4134 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_CaptureStateBlock
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_CaptureStateBlock, 5455, 8)
|
|
||||||
|
|
||||||
{ 0x1E, 0x3C },
|
|
||||||
{ 0x3E, 0xC0 },
|
|
||||||
{ 0x5E, 0x7E },
|
|
||||||
{ 0x7E, 0x00 },
|
|
||||||
{ 0x9E, 0x74 },
|
|
||||||
{ 0xC0, 0x8B },
|
|
||||||
{ 0xDE, 0x83 },
|
|
||||||
{ 0xFE, 0x45 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * CMiniport::InitHardware
|
// * CMiniport::InitHardware
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
@ -562,32 +399,6 @@ OOVPA_XREF(D3DDevice_KickOff, 5455, 15,
|
||||||
// { 0xAF, 0xC3 }
|
// { 0xAF, 0xC3 }
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 3911 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_GetVertexShaderDeclaration
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_GetVertexShaderDeclaration, 5455, 14)
|
|
||||||
|
|
||||||
{ 0x00, 0x8B },
|
|
||||||
|
|
||||||
{ 0x05, 0x48 },
|
|
||||||
{ 0x06, 0x03 },
|
|
||||||
{ 0x07, 0x83 },
|
|
||||||
{ 0x08, 0xEC },
|
|
||||||
{ 0x09, 0x14 },
|
|
||||||
{ 0x0A, 0xF6 },
|
|
||||||
{ 0x0B, 0xC1 },
|
|
||||||
{ 0x0C, 0x08 },
|
|
||||||
|
|
||||||
{ 0x1E, 0xC2 },
|
|
||||||
{ 0x1F, 0x0C },
|
|
||||||
|
|
||||||
{ 0x53, 0xC1 },
|
|
||||||
{ 0x54, 0x07 },
|
|
||||||
{ 0x55, 0x01 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderTarget
|
// * D3DDevice_SetRenderTarget
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -65,99 +65,6 @@ OOVPA_XREF(D3D_SetFence, 5849, 7,
|
||||||
{ 0xA8, 0x75 },
|
{ 0xA8, 0x75 },
|
||||||
OOVPA_END;
|
OOVPA_END;
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5558 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3D::BlockOnTime
|
|
||||||
// * Source: Spiderman 2
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_XREF(D3D_BlockOnTime, 5849, 6,
|
|
||||||
|
|
||||||
XREF_D3D_BlockOnTime,
|
|
||||||
XRefZero)
|
|
||||||
|
|
||||||
{ 0x09, 0x30 },
|
|
||||||
{ 0x27, 0x07 },
|
|
||||||
{ 0x7E, 0x2B },
|
|
||||||
{ 0xA5, 0x20 },
|
|
||||||
{ 0xD9, 0x56 },
|
|
||||||
{ 0xF8, 0x47 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4034 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * Get2DSurfaceDesc
|
|
||||||
// ******************************************************************
|
|
||||||
// * NOTE: D3DTexture_GetLevelDesc and D3DSurface_GetDesc redirect here
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(Get2DSurfaceDesc, 5849, 10)
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0x2B : movzx edx, byte ptr [edi+0x0D]
|
|
||||||
{ 0x2B, 0x0F },
|
|
||||||
{ 0x2C, 0xB6 },
|
|
||||||
{ 0x2D, 0x57 },
|
|
||||||
{ 0x2E, 0x0D },
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0x52 : mov edx, [eax+0x1A14]
|
|
||||||
{ 0x52, 0x8B },
|
|
||||||
{ 0x53, 0x90 },
|
|
||||||
{ 0x54, 0x14 },
|
|
||||||
{ 0x55, 0x1A },
|
|
||||||
|
|
||||||
// Get2DSurfaceDesc+0xAE : retn 0x0C
|
|
||||||
{ 0xAE, 0xC2 },
|
|
||||||
{ 0xAF, 0x0C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 5455 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice_SetScreenSpaceOffset
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetScreenSpaceOffset, 5849, 8)
|
|
||||||
// D3DDevice_SetScreenSpaceOffset+0x13 : fstp [esi+0x0EF8]
|
|
||||||
{ 0x13, 0xD9 },
|
|
||||||
{ 0x14, 0x9E },
|
|
||||||
{ 0x15, 0xF8 },
|
|
||||||
{ 0x16, 0x0E },
|
|
||||||
|
|
||||||
// D3DDevice_SetScreenSpaceOffset+0x33 : jb +0x05
|
|
||||||
{ 0x33, 0x72 },
|
|
||||||
{ 0x34, 0x05 },
|
|
||||||
|
|
||||||
// D3DDevice_SetScreenSpaceOffset+0x46 : retn 0x08
|
|
||||||
{ 0x46, 0xC2 },
|
|
||||||
{ 0x47, 0x08 },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0 // No longer used, replaced by generic 4432 version
|
|
||||||
// ******************************************************************
|
|
||||||
// * D3DDevice8::SetDepthClipPlanes
|
|
||||||
// ******************************************************************
|
|
||||||
OOVPA_NO_XREF(D3DDevice_SetDepthClipPlanes, 5849, 11)
|
|
||||||
|
|
||||||
// _D3DDevice_SetDepthClipPlanes+0x00 : mov eax, [esp+Flags]
|
|
||||||
{ 0x00, 0x8B },
|
|
||||||
{ 0x01, 0x44 },
|
|
||||||
{ 0x02, 0x24 },
|
|
||||||
{ 0x03, 0x0C },
|
|
||||||
|
|
||||||
// _D3DDevice_SetDepthClipPlanes+0x0F : ja short loc_27ABD0 ; jumptable 0027AB71 default case
|
|
||||||
{ 0x0F, 0x77 },
|
|
||||||
{ 0x10, 0x5F },
|
|
||||||
|
|
||||||
// _D3DDevice_SetDepthClipPlanes+0x11 : jmp ds:off_27ABEC[eax*4] ; switch jump
|
|
||||||
{ 0x11, 0xFF },
|
|
||||||
{ 0x12, 0x24 },
|
|
||||||
{ 0x13, 0x85 },
|
|
||||||
|
|
||||||
// _D3DDevice_SetDepthClipPlanes+0x88 : retn 0Ch
|
|
||||||
{ 0x88, 0xC2 },
|
|
||||||
{ 0x89, 0x0C },
|
|
||||||
OOVPA_END;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
// * D3DDevice_SetRenderState_StencilFail
|
// * D3DDevice_SetRenderState_StencilFail
|
||||||
// ******************************************************************
|
// ******************************************************************
|
||||||
|
|
Loading…
Reference in New Issue