forked from haithun/CoD4X17a_testing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcvar_hooks.asm
142 lines (105 loc) · 2.75 KB
/
cvar_hooks.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
;===========================================================================
; Copyright (C) 2010-2013 Ninja and TheKelm of the IceOps-Team
; This file is part of CoD4X17a-Server source code.
; CoD4X17a-Server source code is free software: you can redistribute it and/or modify
; it under the terms of the GNU Affero General Public License as
; published by the Free Software Foundation, either version 3 of the
; License, or (at your option) any later version.
; CoD4X17a-Server source code is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU Affero General Public License for more details.
; You should have received a copy of the GNU Affero General Public License
; along with this program. If not, see <http://www.gnu.org/licenses/>
;===========================================================================
SECTION .text
global Cvar_RegisterString
Cvar_RegisterString:
jmp 0x81a2944
global Cvar_RegisterBool
Cvar_RegisterBool:
jmp 0x81a2d94
global Cvar_RegisterInt
Cvar_RegisterInt:
jmp 0x81a2cc6
global Cvar_RegisterEnum
Cvar_RegisterEnum:
jmp 0x81a2860
global Cvar_RegisterFloat
Cvar_RegisterFloat:
jmp 0x81a2e6c
global Cvar_SetInt
Cvar_SetInt:
jmp 0x81a20c4
global Cvar_SetBool
Cvar_SetBool:
jmp 0x81a1c6c
global Cvar_SetString
Cvar_SetString:
jmp 0x81a14fa
global Cvar_SetFloat
Cvar_SetFloat:
jmp 0x81a1fe0
global Cvar_Set_f
Cvar_Set_f:
jmp 0x8127a80
global Cvar_SetS_f
Cvar_SetS_f:
jmp 0x8127ce8
global Cvar_Toggle_f
Cvar_Toggle_f:
jmp 0x8126f5c
global Cvar_TogglePrint_f
Cvar_TogglePrint_f:
jmp 0x8126f66
global Cvar_SetA_f
Cvar_SetA_f:
jmp 0x8127c7c
global Cvar_SetFromCvar_f
Cvar_SetFromCvar_f:
jmp 0x812746a
global Cvar_SetFromLocalizedStr_f
Cvar_SetFromLocalizedStr_f:
jmp 0x8127842
global Cvar_SetToTime_f
Cvar_SetToTime_f:
jmp 0x81273aa
global Cvar_Reset_f
Cvar_Reset_f:
jmp 0x8127356
global Cvar_List_f
Cvar_List_f:
jmp 0x8127306
global Cvar_Dump_f
Cvar_Dump_f:
jmp 0x81272d2
global Cvar_RegisterBool_f
Cvar_RegisterBool_f:
jmp 0x8126fc6
global Cvar_RegisterInt_f
Cvar_RegisterInt_f:
jmp 0x81276aa
global Cvar_RegisterFloat_f
Cvar_RegisterFloat_f:
jmp 0x812751a
global Cvar_SetU_f
Cvar_SetU_f:
jmp 0x8127d54
global g_cvar_valueforkey
g_cvar_valueforkey:
jmp 0x819e90a
global Cvar_InfoString
Cvar_InfoString:
jmp 0x81264f4
global Cvar_ForEach
Cvar_ForEach:
jmp 0x819f328
global Cvar_DisplayableValue
Cvar_DisplayableValue:
jmp 0x819e2ac
global Cvar_GetVariantString
Cvar_GetVariantString:
jmp 0x819e8cc
global Cvar_FindMalleableVar
Cvar_FindMalleableVar:
jmp 0x819e6d0