[saco] Implement/match CWeapon__Satchel__Activate_Hook()

This commit is contained in:
RD42 2024-10-14 18:18:33 +08:00
parent d2fe290b96
commit 78a3b2b967

View File

@ -630,7 +630,21 @@ NUDE CProjectile_Update_Hook()
NUDE CWeapon__Satchel__Activate_Hook()
{
// TODO: CWeapon__Satchel__Activate_Hook
__asm
{
CMP DWORD PTR DS:[ESI-0x20], 0x27
MOV EDI, DWORD PTR SS:[EBP]
JNZ skip
MOV EAX, [ESP]
CMP DWORD PTR DS:[ESI-0x1C], EAX
JNZ skip
MOV EAX, 0x738880
JMP EAX
skip:
MOV EAX, 0x7388DB
JMP EAX
}
}
//-----------------------------------------------------------