Skip to content

Commit bbb8173

Browse files
committed
xapi: lower MU_Init 5233 signature to 5120
1 parent 0111260 commit bbb8173

3 files changed

Lines changed: 23 additions & 25 deletions

File tree

src/OOVPADatabase/Xapi/5120.inl

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,25 @@ OOVPA_SIG_MATCH(
1919
{ 0x70, 0x5F },
2020
//
2121
);
22+
23+
// ******************************************************************
24+
// * MU_Init
25+
// ******************************************************************
26+
// Generic OOVPA as of 5120 and newer.
27+
OOVPA_SIG_HEADER_NO_XREF(MU_Init,
28+
5120)
29+
OOVPA_SIG_MATCH(
30+
31+
// push ebp
32+
// mov ebp, esp
33+
// sub esp, 0x0C
34+
OV_MATCH(0x00, 0x55, 0x8B, 0xEC, 0x83, 0xEC, 0x0C),
35+
36+
// push eax
37+
// push 0x00
38+
// push 0x3A
39+
// lea eax, [ebp-0x0C]
40+
OV_MATCH(0x8E, 0x50, 0x6A, 0x00, 0x6A, 0x3A, 0x8D, 0x45, 0xF4), // Was 5233 offset 0x8A
41+
42+
//
43+
);

src/OOVPADatabase/Xapi/5233.inl

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/OOVPADatabase/Xapi_OOVPA.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,6 @@
371371
#include "Xapi/4831.inl"
372372
#include "Xapi/5028.inl"
373373
#include "Xapi/5120.inl"
374-
#include "Xapi/5233.inl"
375374
#include "Xapi/5344.inl"
376375
#include "Xapi/5455.inl"
377376

@@ -490,7 +489,7 @@ static OOVPATable XAPILIB_OOVPA_Table[] = {
490489
REGISTER_OOVPAS_C(SYM_FUN(GetTypeInformation2, CALL(fas), STACK(/*default*/), PARAMS(PARAM(_cl, XidType), PARAM(edx, pTypeIndex))),
491490
SYM_SIG(4242, 5455)), // Final generic OOVPA: 5455; Removed: 0
492491
REGISTER_OOVPAS_M(SYM_FUN(MU_Init, CALL(std), STACK(/*default*/), PARAMS(PARAM(psh, pThis))),
493-
SYM_SIG(3911, 4242, 5233)),
492+
SYM_SIG(3911, 4242, 5120)),
494493
REGISTER_OOVPAS(SYM_FUN(OpenEventA, CALL(std), STACK(/*default*/), PARAMS(PARAM(psh, dwDesiredAccess), PARAM(psh, bInheritHandle), PARAM(psh, lpName))),
495494
SYM_SIG(3911)), // Final generic OOVPA: 3911; Removed: 0
496495
REGISTER_OOVPAS(SYM_FUN(OutputDebugStringA, CALL(std), STACK(/*default*/), PARAMS(PARAM(psh, lpOutputString))),

0 commit comments

Comments
 (0)