forked from Public-Mirror/Textractor
treat unity as full string
This commit is contained in:
parent
2e99d6b3f2
commit
594198c921
@ -16576,7 +16576,7 @@ void InsertMonoHook(HMODULE h)
|
|||||||
{
|
{
|
||||||
HookParam hp = {};
|
HookParam hp = {};
|
||||||
hp.address = addr;
|
hp.address = addr;
|
||||||
hp.type = USING_UNICODE;
|
hp.type = USING_UNICODE | FULL_STRING;
|
||||||
hp.offset = 4;
|
hp.offset = 4;
|
||||||
hp.text_fun = [](DWORD esp_base, HookParam*, BYTE, DWORD* data, DWORD* split, DWORD* len)
|
hp.text_fun = [](DWORD esp_base, HookParam*, BYTE, DWORD* data, DWORD* split, DWORD* len)
|
||||||
{
|
{
|
||||||
|
@ -89,7 +89,7 @@ namespace Engine
|
|||||||
{
|
{
|
||||||
HookParam hp = {};
|
HookParam hp = {};
|
||||||
hp.address = addr;
|
hp.address = addr;
|
||||||
hp.type = USING_STRING | USING_UNICODE;
|
hp.type = USING_STRING | USING_UNICODE | FULL_STRING;
|
||||||
hp.offset = -0x20; // rcx
|
hp.offset = -0x20; // rcx
|
||||||
hp.padding = 20;
|
hp.padding = 20;
|
||||||
hp.length_fun = [](uintptr_t, uintptr_t data)
|
hp.length_fun = [](uintptr_t, uintptr_t data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user