forked from Public-Mirror/Textractor
update artemis2 hook
This commit is contained in:
parent
a53af3d0fd
commit
24491e1bc3
@ -10459,6 +10459,13 @@ bool InsertArtemis2Hook()
|
|||||||
|
|
||||||
ConsoleOutput("vnreng: INSERT Artemis2");
|
ConsoleOutput("vnreng: INSERT Artemis2");
|
||||||
NewHook(hp, "Artemis2");
|
NewHook(hp, "Artemis2");
|
||||||
|
|
||||||
|
// Artikash 1/1/2019: Recent games seem to use utf8 encoding instead, other than that the hook is identical.
|
||||||
|
// Not sure how to differentiate which games are sjis/utf8 so insert both
|
||||||
|
hp.address = addr + 6;
|
||||||
|
hp.offset = 8; // ebp was also pushed
|
||||||
|
hp.type = USING_UTF8 | USING_STRING | NO_CONTEXT;
|
||||||
|
NewHook(hp, "Artemis2");
|
||||||
//ConsoleOutput("Artemis2");
|
//ConsoleOutput("Artemis2");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user