mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-24 01:14:12 +08:00
fix marine heart hook
This commit is contained in:
parent
0ea99ed732
commit
e921062684
@ -11442,7 +11442,7 @@ bool InsertMarineHeartHook()
|
|||||||
0x6a, 0x00, // 0040d1e3 |. 6a 00 push 0x0 ; |width = 0x0 0x8b,0x46, 0x04,
|
0x6a, 0x00, // 0040d1e3 |. 6a 00 push 0x0 ; |width = 0x0 0x8b,0x46, 0x04,
|
||||||
0x8b,0x46, 0x04, // 0040d1e5 |. 8b46 04 mov eax,dword ptr ds:[esi+0x4] ; |
|
0x8b,0x46, 0x04, // 0040d1e5 |. 8b46 04 mov eax,dword ptr ds:[esi+0x4] ; |
|
||||||
0x50, // 0040d1e8 |. 50 push eax ; |height
|
0x50, // 0040d1e8 |. 50 push eax ; |height
|
||||||
0xe8, 0x00,0xfa,0x06,0x00 // 0040d1e9 |. e8 00fa0600 call <jmp.&gdi32.CreateFontA> ; \createfonta
|
0xe8//, 0x00,0xfa,0x06,0x00 // 0040d1e9 |. e8 00fa0600 call <jmp.&gdi32.CreateFontA> ; \createfonta
|
||||||
};
|
};
|
||||||
enum { addr_offset = 0x0040d160 - 0x0040d1c6 }; // distance to the beginning of the function
|
enum { addr_offset = 0x0040d160 - 0x0040d1c6 }; // distance to the beginning of the function
|
||||||
ULONG range = min(processStopAddress - processStartAddress, MAX_REL_ADDR);
|
ULONG range = min(processStopAddress - processStartAddress, MAX_REL_ADDR);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user