Skip to content

Commit

Permalink
codex
Browse files Browse the repository at this point in the history
  • Loading branch information
HIllya51 committed Nov 14, 2024
1 parent aff5882 commit 28589a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cpp/LunaHook/LunaHook/engine32/CodeX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@ namespace
HookParam hp;
hp.address = addr;
hp.offset = get_stack(1);
hp.type = USING_STRING | FULL_STRING | NO_CONTEXT;
// 这个可以提取到人名,但是会把一堆字体名给hook进去,所以不要内嵌
hp.split = get_stack(2);
hp.type = USING_STRING | FULL_STRING | NO_CONTEXT | USING_SPLIT | EMBED_ABLE | EMBED_AFTER_OVERWRITE;
hp.hook_font = F_GetGlyphOutlineA;
hp.filter_fun = CodeXFilter;
return NewHook(hp, "CodeX2");
}
Expand Down

0 comments on commit 28589a8

Please sign in to comment.