This commit is contained in:
恍兮惚兮 2024-05-09 22:50:34 +08:00
parent 0aa0cc4868
commit 8753a781ff

View File

@ -216,7 +216,13 @@ void TextHook::Send(uintptr_t lpDataBase)
} }
else if(hp.jittype==JITTYPE::UNITY) else if(hp.jittype==JITTYPE::UNITY)
{ {
commonsolvemonostring(*argidx(stack,hp.argidx),&lpDataIn,&lpCount); auto ptr=*argidx(stack,hp.argidx);
if(hp.type&USING_STRING)
commonsolvemonostring(ptr,&lpDataIn,&lpCount);
else{
lpDataIn=(wchar_t)ptr;
lpCount=2;
}
} }
else else
{ {