这是个directx 9的游戏5 [& T& f6 @- s8 }: H
在exe中检索检索+40h],找到2处,以下是其中1处,应该就是CreateDevice的地方。
) ?+ P: t# u( K( F H- .text:00404391 68 B0 31 7C 00 push offset dword_7C31B0: _7 f% v+ f* r# A \
- .text:00404396 68 78 31 78 00 push offset dword_7831787 M7 T, B- [$ l% q* g( l1 ?
- .text:0040439B 6A 20 push 20h
) k$ z1 y- y2 o+ a/ Q1 s. I - .text:0040439D 8B 45 08 mov eax, [ebp+arg_0]
; Q) T: w2 L$ p8 ?, M/ H% r - .text:004043A0 50 push eax" H1 e ]4 @& ~; t# @
- .text:004043A1 6A 01 push 1
$ h0 j$ a r, n* S$ a$ n b$ c - .text:004043A3 8B 4D F8 mov ecx, [ebp+var_8]
6 w( n' i- D5 S7 R - .text:004043A6 51 push ecx
2 g! r6 O# N6 k - .text:004043A7 8B 15 74 31 78 00 mov edx, dword_783174' }3 A' Y# K; Y/ V2 Y
- .text:004043AD 8B 02 mov eax, [edx]& _# e% W) W( z+ W2 ~' u- h' t
- .text:004043AF 8B 0D 74 31 78 00 mov ecx, dword_783174 I0 B4 H( f+ P1 x7 N
- .text:004043B5 51 push ecx$ Y' C" C N8 L) L% y
- .text:004043B6 8B 50 40 mov edx, [eax+40h]& M) t7 I6 C7 ?) `! B7 z, g
- .text:004043B9 FF D2 call edx
复制代码
2 P+ H+ U$ R k; J! g: t0 P0 I. s" S$ f8 T8 J# O8 X8 }- P9 M9 g r
2 `2 l- h+ Y6 x( k& M4 H$ l
|