This commit is contained in:
恍兮惚兮 2024-12-20 11:55:27 +08:00
parent bd6786b924
commit 74f276dbe5
2 changed files with 2 additions and 2 deletions

View File

@ -1281,7 +1281,7 @@ bool InsertBGI4Hook_2()
return false; return false;
HookParam hp; HookParam hp;
hp.address = addrs[0] + 5; hp.address = addrs[0] + 5;
hp.type = CODEC_UTF16 | USING_STRING | NO_CONTEXT | EMBED_ABLE | EMBED_AFTER_NEW; hp.type = CODEC_UTF16 | USING_STRING | EMBED_ABLE | EMBED_AFTER_NEW;
hp.embed_hook_font = F_TextOutW | F_GetTextExtentPoint32W; hp.embed_hook_font = F_TextOutW | F_GetTextExtentPoint32W;
hp.filter_fun = BGI7Filter; hp.filter_fun = BGI7Filter;
hp.offset = regoffset(eax); hp.offset = regoffset(eax);

View File

@ -107,7 +107,7 @@ bool BGIattach_function2()
return false; return false;
HookParam hp; HookParam hp;
hp.address = addrs[0] + 5; hp.address = addrs[0] + 5;
hp.type = CODEC_UTF16 | USING_STRING | NO_CONTEXT | EMBED_ABLE | EMBED_AFTER_NEW; hp.type = CODEC_UTF16 | USING_STRING | EMBED_ABLE | EMBED_AFTER_NEW;
hp.embed_hook_font = F_TextOutW | F_GetTextExtentPoint32W; hp.embed_hook_font = F_TextOutW | F_GetTextExtentPoint32W;
hp.filter_fun = BGI7Filter; hp.filter_fun = BGI7Filter;
hp.offset = regoffset(rax); hp.offset = regoffset(rax);