这是个directx 9的游戏
; h' |9 r" p3 r5 j3 k9 m在exe中检索检索+40h],找到2处,以下是其中1处,应该就是CreateDevice的地方。# |9 e7 t0 o. O& I* I- m, b& {
- .text:00404391 68 B0 31 7C 00 push offset dword_7C31B0
8 z/ v$ _" m; x; E7 z9 h - .text:00404396 68 78 31 78 00 push offset dword_783178
( z8 D3 V+ @- ~ - .text:0040439B 6A 20 push 20h
/ i" H" Z6 v. F, z - .text:0040439D 8B 45 08 mov eax, [ebp+arg_0]. K* K! I' m( T% L
- .text:004043A0 50 push eax7 T! @, q! G" J% A: d5 l5 R
- .text:004043A1 6A 01 push 1
& V( I+ x: P4 ~3 y m - .text:004043A3 8B 4D F8 mov ecx, [ebp+var_8]4 W! Z, h% h: i
- .text:004043A6 51 push ecx
8 K. z/ z+ a# e2 L" H - .text:004043A7 8B 15 74 31 78 00 mov edx, dword_7831742 L" l, D, z; L
- .text:004043AD 8B 02 mov eax, [edx]/ ^7 ?4 j6 O, j$ Y1 ~+ ~+ ^
- .text:004043AF 8B 0D 74 31 78 00 mov ecx, dword_783174* i0 |. l v9 f( ~3 S
- .text:004043B5 51 push ecx
% Q; ]5 }5 b* Q; S7 h - .text:004043B6 8B 50 40 mov edx, [eax+40h]
V7 l: u# ?. A) z - .text:004043B9 FF D2 call edx
复制代码 7 o& j6 a" W- v! B
( i8 ~( |. B2 n' F2 c+ U+ k$ _3 r+ h4 w; i
|