mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-20 04:36:01 +08:00
[saco] DllMain jump?
This commit is contained in:
@ -77,7 +77,7 @@ void LaunchMonitor(PVOID v)
|
||||
|
||||
#define ARCHIVE_FILE "samp.saa"
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
BOOL WINAPI DllMain_2(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
if(DLL_PROCESS_ATTACH==fdwReason)
|
||||
{
|
||||
@ -122,6 +122,13 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
_asm jmp DllMain_2
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
PCHAR GetSAMPPath()
|
||||
{
|
||||
return szSAMPDir;
|
||||
|
Reference in New Issue
Block a user