Update yuzusuyu.cpp

This commit is contained in:
恍兮惚兮 2024-03-22 21:20:22 +08:00
parent 6183d54636
commit 838ccb47ab

View File

@ -130,6 +130,7 @@ bool yuzusuyu::attach_function()
HookParam hpinternal; HookParam hpinternal;
hpinternal.address=entrypoint; hpinternal.address=entrypoint;
hpinternal.type=CODEC_UTF16|USING_STRING|NO_CONTEXT;
hpinternal.text_fun=(decltype(hpinternal.text_fun))op.hookfunc; hpinternal.text_fun=(decltype(hpinternal.text_fun))op.hookfunc;
hpinternal.filter_fun=(decltype(hpinternal.filter_fun))op.filterfun; hpinternal.filter_fun=(decltype(hpinternal.filter_fun))op.filterfun;
NewHook(hpinternal,op.hookname); NewHook(hpinternal,op.hookname);