mirror of
https://github.com/diamante0018/MW3ServerFreezer.git
synced 2025-05-11 06:54:52 +00:00
format
This commit is contained in:
parent
0953d9de67
commit
64a5c3ee6a
@ -10,20 +10,19 @@ void __declspec(naked) Dvar_SetVariant(dvar_t* /*dvar*/, DvarValue /*value*/,
|
|||||||
static DWORD func = 0x649170;
|
static DWORD func = 0x649170;
|
||||||
|
|
||||||
__asm {
|
__asm {
|
||||||
pushad
|
pushad
|
||||||
|
|
||||||
mov eax, [esp + 0x20 + 0x4] // dvar
|
mov eax, [esp + 0x20 + 0x4] // dvar
|
||||||
push [esp + 0x20 + 0x18] // source
|
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
|
||||||
push [esp + 0x20 + 0x18] // value
|
push [esp + 0x20 + 0x18] // value
|
||||||
push [esp + 0x20 + 0x18] // value
|
push [esp + 0x20 + 0x18] // value
|
||||||
call func
|
call func
|
||||||
add esp, 0x14
|
add esp, 0x14
|
||||||
|
|
||||||
popad
|
popad
|
||||||
|
ret
|
||||||
ret
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} // namespace game
|
} // namespace game
|
||||||
|
@ -15,8 +15,8 @@ private:
|
|||||||
T* mp_;
|
T* mp_;
|
||||||
};
|
};
|
||||||
|
|
||||||
ScreenPlacement* ScrPlace_GetUnsafeFullPlacement();
|
extern ScreenPlacement* ScrPlace_GetUnsafeFullPlacement();
|
||||||
void Dvar_SetVariant(dvar_t* dvar, DvarValue value, DvarSetSource source);
|
extern void Dvar_SetVariant(dvar_t* dvar, DvarValue value, DvarSetSource source);
|
||||||
} // namespace game
|
} // namespace game
|
||||||
|
|
||||||
#include "symbols.hpp"
|
#include "symbols.hpp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user