这是个directx 9的游戏
4 Z' t8 ^8 y4 t) p* g6 U在exe中检索检索+40h],找到2处,以下是其中1处,应该就是CreateDevice的地方。1 P) R) @1 d( x6 p8 c
- .text:00404391 68 B0 31 7C 00 push offset dword_7C31B0/ D5 J. U# ^4 {" D- B/ W1 K
- .text:00404396 68 78 31 78 00 push offset dword_7831781 a3 U% `) V- }6 [- r/ @8 f
- .text:0040439B 6A 20 push 20h
, O* p/ s) f2 _% Q/ n - .text:0040439D 8B 45 08 mov eax, [ebp+arg_0]
9 r3 @- y" l* P - .text:004043A0 50 push eax6 p2 V8 q7 n7 g# b6 i9 ?0 U9 Z" J
- .text:004043A1 6A 01 push 1. F; x+ h B# K" [ J
- .text:004043A3 8B 4D F8 mov ecx, [ebp+var_8]
% S1 S' j+ m% e% u& T8 Z - .text:004043A6 51 push ecx V6 X5 ?6 g/ n# m' v( M
- .text:004043A7 8B 15 74 31 78 00 mov edx, dword_783174# v1 J% }* q3 B' D+ g
- .text:004043AD 8B 02 mov eax, [edx]
: w6 E! n) _- N. c' j - .text:004043AF 8B 0D 74 31 78 00 mov ecx, dword_783174
3 y$ d! C" V5 G; ~* I - .text:004043B5 51 push ecx6 J% z7 e6 K* b3 }
- .text:004043B6 8B 50 40 mov edx, [eax+40h]
( {3 g( W9 ?# }* O - .text:004043B9 FF D2 call edx
复制代码 ; c# p# Z; i' q% c: E6 c+ c
& H+ c, W2 p d% N" r6 H
4 ?6 w6 j+ z; z1 U$ O# Z3 Z
|