mirror of
https://github.com/diamante0018/MW3ServerFreezer.git
synced 2026-10-03 18:05:33 +00:00
format
This commit is contained in:
2 files changed
+9
-10
No files matched your search
@@ -10,20 +10,19 @@ void __declspec(naked) Dvar_SetVariant(dvar_t* /*dvar*/, DvarValue /*value*/,
|
||||
static DWORD func = 0x649170;
|
||||
|
||||
__asm {
|
||||
pushad
|
||||
pushad
|
||||
|
||||
mov eax, [esp + 0x20 + 0x4] // dvar
|
||||
push [esp + 0x20 + 0x18] // source
|
||||
mov eax, [esp + 0x20 + 0x4] // dvar
|
||||
push [esp + 0x20 + 0x18] // source
|
||||
push [esp + 0x20 + 0x18] // value
|
||||
push [esp + 0x20 + 0x18] // value
|
||||
push [esp + 0x20 + 0x18] // value
|
||||
push [esp + 0x20 + 0x18] // value
|
||||
call func
|
||||
add esp, 0x14
|
||||
call func
|
||||
add esp, 0x14
|
||||
|
||||
popad
|
||||
|
||||
ret
|
||||
popad
|
||||
ret
|
||||
}
|
||||
}
|
||||
} // namespace game
|
||||
Reference in new issue
Block a user