Skip to content

Commit b8adc98

Browse files
committed
Update main.cpp
1 parent e126851 commit b8adc98

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

main.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ bool CWSS9000Plugin::Load(CreateInterfaceFn interfaceFactory, CreateInterfaceFn
115115
Memory::Scanner::Scan(CLIENTDLL, "55 8B EC 81 EC 48 01 00 00 57"),
116116
&CUGCFileRequestManager__Update_hook, (void**)&CUGCFileRequestManager__Update_orig
117117
);
118-
#else // Linux
119-
MH_CreateHook(
120-
Memory::Scanner::Scan(CLIENTDLL, "55 89 E5 57 56 53 81 EC 5C 01 00 00 8B 5D"),
121-
&CUGCFileRequestManager__Update_hook, (void**)&CUGCFileRequestManager__Update_orig
122-
);
118+
#else // Linux. I believe the sig for linux is incorrect and I need to spend a bit more time to confirm its the right one.
119+
//MH_CreateHook(
120+
// Memory::Scanner::Scan(CLIENTDLL, "55 89 E5 57 56 53 81 EC 5C 01 00 00 8B 5D"),
121+
// &CUGCFileRequestManager__Update_hook, (void**)&CUGCFileRequestManager__Update_orig
122+
//);
123123
#endif // _WIN32
124124

125125
MH_EnableHook(MH_ALL_HOOKS);

0 commit comments

Comments
 (0)