mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 17:38:12 +08:00
[saco] Implement/match PathProcessingCrashFixHook()
This commit is contained in:
@ -649,6 +649,26 @@ skip:
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
NUDE PathProcessingCrashFixHook()
|
||||
{
|
||||
__asm
|
||||
{
|
||||
push esi
|
||||
test ecx, ecx;
|
||||
jz exitFn
|
||||
mov esi,dword ptr ss:[esp+8]
|
||||
mov eax,dword ptr ds:[esi]
|
||||
mov edx, 0x63A047;
|
||||
jmp edx;
|
||||
|
||||
exitFn:
|
||||
mov esi, 0x63a04d;
|
||||
jmp esi;
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
NUDE SetCarColorCrashFix()
|
||||
{
|
||||
__asm
|
||||
|
Reference in New Issue
Block a user