This commit is contained in:
Simon Lindholm
2022-06-29 17:33:41 +02:00
parent 916c10543d
commit f11759cc71
5 changed files with 10 additions and 9 deletions

View File

@@ -82,8 +82,10 @@ void *wibo::resolveStubByName(const char *dllName, const char *funcName) {
}
void *wibo::resolveStubByOrdinal(const char *dllName, uint16_t ordinal) {
if (strcmp(dllName, "LMGR11.dll") == 0 || strcmp(dllName, "LMGR326B.dll") == 0) {
void* func = wibo::resolveLmgr11(ordinal);
if (strcmp(dllName, "LMGR11.dll") == 0 ||
strcmp(dllName, "LMGR326B.dll") == 0 ||
strcmp(dllName, "LMGR8C.dll") == 0) {
void* func = wibo::resolveLmgr(ordinal);
if (func)
return func;
}