-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add LTCG symbols: CDevice_KickOff_0_edx, CDevice_KickOff_0_ecx, D3DDe…
…vice_MakeSpace_0, XGSetSurfaceHeader
- Loading branch information
1 parent
3896aab
commit c41069d
Showing
12 changed files
with
332 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// ****************************************************************** | ||
// * | ||
// * OOVPADatabase->D3D8LTCG->3911.inl | ||
// * | ||
// * XbSymbolDatabase is free software; you can redistribute them | ||
// * and/or modify them under the terms of the GNU General Public | ||
// * License as published by the Free Software Foundation; either | ||
// * version 2 of the license, or (at your option) any later version. | ||
// * | ||
// * This program is distributed in the hope that it will be useful, | ||
// * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// * GNU General Public License for more details. | ||
// * | ||
// * You should have recieved a copy of the GNU General Public License | ||
// * along with this program; see the file COPYING. | ||
// * If not, write to the Free Software Foundation, Inc., | ||
// * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
// * | ||
// * (c) 2017 jarupxx | ||
// * | ||
// * All rights reserved | ||
// * | ||
// ****************************************************************** | ||
|
||
// test case: NASCAR Heat 2002 | ||
// ****************************************************************** | ||
// * D3D::CDevice::KickOff | ||
// ****************************************************************** | ||
OOVPA_SIG_HEADER_NO_XREF(CDevice_KickOff_0_edx, | ||
3925) | ||
OOVPA_SIG_MATCH( | ||
|
||
// test eax, eax | ||
// jz EIP+8 | ||
OV_MATCH(0x05, 0x85, 0xC0, 0x75, 0x2B), | ||
// test byte ptr [edx+0Ch], 4 | ||
OV_MATCH(0x09, 0xF6, 0x42, 0x0C, 0x04), | ||
// push esi | ||
// jz EIP+8 | ||
OV_MATCH(0x0D, 0x56, 0x74, 0x08), | ||
|
||
// | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// ****************************************************************** | ||
// * | ||
// * OOVPADatabase->D3D8LTCG->5849.inl | ||
// * | ||
// * XbSymbolDatabase is free software; you can redistribute them | ||
// * and/or modify them under the terms of the GNU General Public | ||
// * License as published by the Free Software Foundation; either | ||
// * version 2 of the license, or (at your option) any later version. | ||
// * | ||
// * This program is distributed in the hope that it will be useful, | ||
// * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// * GNU General Public License for more details. | ||
// * | ||
// * You should have recieved a copy of the GNU General Public License | ||
// * along with this program; see the file COPYING. | ||
// * If not, write to the Free Software Foundation, Inc., | ||
// * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
// * | ||
// * (c) 2017 jarupxx | ||
// * | ||
// * All rights reserved | ||
// * | ||
// ****************************************************************** | ||
|
||
//test case: OddWorld Stranger's Wrath | ||
// ****************************************************************** | ||
// * D3D::CDevice::KickOff | ||
// ****************************************************************** | ||
OOVPA_SIG_HEADER_XREF(CDevice_KickOff_0_ecx, | ||
5558, | ||
XRefOne) | ||
OOVPA_SIG_MATCH( | ||
// mov eax, XREF_D3D_g_pDevice | ||
XREF_ENTRY(0x1E, XREF_D3D_g_pDevice), // Derived | ||
|
||
// mov eax, [ecx+8] | ||
OV_MATCH(0x00, 0x8B, 0x41, 0x08), | ||
// test al, 4 | ||
// push esi | ||
// jz EIP+8 | ||
OV_MATCH(0x03, 0xA8, 0x04, 0x56, 0x74, 0x08), | ||
|
||
// test ah, 0x20 | ||
OV_MATCH(0x12, 0xF6, 0xC4, 0x20), | ||
|
||
// mov edi, XREF_D3D_g_pDevice | ||
OV_MATCH(0x1C, 0x8B, 0x3D), | ||
|
||
// | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.