mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-24 01:14:12 +08:00
bugfix pal hook
This commit is contained in:
parent
53cf099bc6
commit
166c9681e4
@ -12465,6 +12465,8 @@ static bool InsertNewPal1Hook()
|
|||||||
HookParam hp = {};
|
HookParam hp = {};
|
||||||
hp.address = addr;
|
hp.address = addr;
|
||||||
hp.offset = 4 * 2; // arg2
|
hp.offset = 4 * 2; // arg2
|
||||||
|
hp.length_offset = 0;
|
||||||
|
hp.type = USING_STRING;
|
||||||
ConsoleOutput("vnreng: INSERT Pal1");
|
ConsoleOutput("vnreng: INSERT Pal1");
|
||||||
NewHook(hp, "Pal");
|
NewHook(hp, "Pal");
|
||||||
return true;
|
return true;
|
||||||
@ -12492,6 +12494,8 @@ static bool InsertNewPal2Hook()
|
|||||||
HookParam hp = {};
|
HookParam hp = {};
|
||||||
hp.address = addr;
|
hp.address = addr;
|
||||||
hp.offset = 4 * 2; // arg2
|
hp.offset = 4 * 2; // arg2
|
||||||
|
hp.length_offset = 0;
|
||||||
|
hp.type = USING_STRING;
|
||||||
ConsoleOutput("vnreng: INSERT Pal2");
|
ConsoleOutput("vnreng: INSERT Pal2");
|
||||||
NewHook(hp, "Pal");
|
NewHook(hp, "Pal");
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user