mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-24 01:14:12 +08:00
fix d3dx x64 hook
This commit is contained in:
parent
440474d2ee
commit
e453b571ba
@ -191,7 +191,7 @@ void PcHooks::hookD3DXFunctions(HMODULE d3dxModule)
|
|||||||
void(D3DXFont::*ctor)();
|
void(D3DXFont::*ctor)();
|
||||||
uintptr_t addr;
|
uintptr_t addr;
|
||||||
} fuckTheTypeSystem;
|
} fuckTheTypeSystem;
|
||||||
fuckTheTypeSystem.addr = *(uintptr_t*)(createFont + i + 1) + createFont + i + 5;
|
fuckTheTypeSystem.addr = *(DWORD*)(createFont + i + 1) + createFont + i + 5;
|
||||||
(font.*(fuckTheTypeSystem.ctor))();
|
(font.*(fuckTheTypeSystem.ctor))();
|
||||||
|
|
||||||
HookParam hp = {};
|
HookParam hp = {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user