forked from Public-Mirror/Textractor
update hook
This commit is contained in:
parent
12c3262f95
commit
42546e5215
@ -16440,7 +16440,7 @@ bool InsertAdobeFlash10Hook()
|
|||||||
* Sample games: https://vndb.org/v19843 https://vndb.org/v12038 and many more OELVNs
|
* Sample games: https://vndb.org/v19843 https://vndb.org/v12038 and many more OELVNs
|
||||||
*
|
*
|
||||||
* Uses CPython, and links to python27.dll. PyUicodeUCS2_Format is the function used to process text.
|
* Uses CPython, and links to python27.dll. PyUicodeUCS2_Format is the function used to process text.
|
||||||
* eax points to string class. offset 0xc from that is a wchar_t* to the actual string
|
* first value on stack is pointer to string class. offset 0xc from that is a wchar_t* to the actual string
|
||||||
* ebx seems to work well as the split param, not sure why
|
* ebx seems to work well as the split param, not sure why
|
||||||
*/
|
*/
|
||||||
bool InsertRenpyHook()
|
bool InsertRenpyHook()
|
||||||
@ -16452,7 +16452,7 @@ bool InsertRenpyHook()
|
|||||||
ConsoleOutput("NextHooker: Ren'py failed: failed to find python27.dll or PyUnicodeUCS2_Format");
|
ConsoleOutput("NextHooker: Ren'py failed: failed to find python27.dll or PyUnicodeUCS2_Format");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
hp.offset = pusha_eax_off - 4;
|
hp.offset = 4;
|
||||||
hp.index = 0xc;
|
hp.index = 0xc;
|
||||||
hp.length_offset = 0;
|
hp.length_offset = 0;
|
||||||
hp.split = pusha_ebx_off - 4;
|
hp.split = pusha_ebx_off - 4;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user