mireado

AOS pattern update

...@@ -10979,7 +10979,7 @@ bool InsertAOS1Hook() ...@@ -10979,7 +10979,7 @@ bool InsertAOS1Hook()
10979 hp.type = DATA_INDIRECT; 10979 hp.type = DATA_INDIRECT;
10980 10980
10981 ConsoleOutput("vnreng: INSERT AOS1"); 10981 ConsoleOutput("vnreng: INSERT AOS1");
10982 - NewHook(hp, "AOS"); 10982 + NewHook(hp, "AOS1");
10983 return true; 10983 return true;
10984 } 10984 }
10985 10985
...@@ -10990,11 +10990,11 @@ bool InsertAOS2Hook() ...@@ -10990,11 +10990,11 @@ bool InsertAOS2Hook()
10990 0x33,0xc0, // 00C4E7E1 |. 33C0 XOR EAX,EAX 10990 0x33,0xc0, // 00C4E7E1 |. 33C0 XOR EAX,EAX
10991 0x53, // 00C4E7E3 |. 53 PUSH EBX 10991 0x53, // 00C4E7E3 |. 53 PUSH EBX
10992 0x55, // 00C4E7E4 |. 55 PUSH EBP 10992 0x55, // 00C4E7E4 |. 55 PUSH EBP
10993 - 0x8b,0x2d, XX4, // 00C4E7E5 |. 8B2D 40A3CF00 MOV EBP,DWORD PTR DS:[0CFA340] ; mireado: some time changing 40A3CF00 => 40A3C000 10993 + 0x8b,0x2d//, XX4, // 00C4E7E5 |. 8B2D 40A3CF00 MOV EBP,DWORD PTR DS:[0CFA340] ; mireado: some time changing 40A3CF00 => 40A3C000
10994 - 0x89,0x07, // 00C4E7EB |. 8907 MOV DWORD PTR DS:[EDI],EAX 10994 + //0x89,0x07, // 00C4E7EB |. 8907 MOV DWORD PTR DS:[EDI],EAX
10995 - 0x89,0x47, 0x04, // 00C4E7ED |. 8947 04 MOV DWORD PTR DS:[EDI+4],EAX 10995 + //0x89,0x47, 0x04 // 00C4E7ED |. 8947 04 MOV DWORD PTR DS:[EDI+4],EAX
10996 - 0x56, // 00C4E7F0 |. 56 PUSH ESI 10996 + //0x56, // 00C4E7F0 |. 56 PUSH ESI
10997 - 0x8b,0x75, 0x44 // 00C4E7F1 |. 8B75 44 MOV ESI,DWORD PTR SS:[EBP+44] 10997 + //0x8b,0x75, 0x44 // 00C4E7F1 |. 8B75 44 MOV ESI,DWORD PTR SS:[EBP+44]
10998 }; 10998 };
10999 10999
11000 enum { addr_offset = 0 }; // distance to the beginning of the function, which is 0x51 (push ecx) 11000 enum { addr_offset = 0 }; // distance to the beginning of the function, which is 0x51 (push ecx)
......