mirror of
https://github.com/decompals/wibo.git
synced 2025-10-15 14:45:12 +00:00
38 lines
687 B
C++
38 lines
687 B
C++
#include "common.h"
|
|
|
|
namespace lmgr {
|
|
int WIN_ENTRY lp_checkout(int a, int b, const char* c, const char* d, int e, const char* f, int* out) {
|
|
WIN_API_SEGMENT_GUARD();
|
|
DEBUG_LOG("lp_checkout(%d, %d, %s, %s, %d, %s)\n", a, b, c, d, e, f);
|
|
*out = 1234;
|
|
return 0;
|
|
}
|
|
|
|
int WIN_ENTRY lp_checkin() {
|
|
WIN_API_SEGMENT_GUARD();
|
|
DEBUG_LOG("lp_checkin()\n");
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
static void *resolveByOrdinal(uint16_t ordinal) {
|
|
switch (ordinal) {
|
|
case 189:
|
|
return (void*)lmgr::lp_checkin;
|
|
case 190:
|
|
return (void*)lmgr::lp_checkout;
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
wibo::Module lib_lmgr = {
|
|
(const char *[]){
|
|
"lmgr11",
|
|
"lmgr326b",
|
|
"lmgr8c",
|
|
nullptr,
|
|
},
|
|
nullptr,
|
|
resolveByOrdinal,
|
|
};
|