forked from isledecomp/racers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibrary_msvc.h
More file actions
485 lines (325 loc) · 7.29 KB
/
Copy pathlibrary_msvc.h
File metadata and controls
485 lines (325 loc) · 7.29 KB
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
#ifdef 0
// For GOLDP symbols only
// LIBRARY: GOLDP 0x1004b268
// __global_unwind2
// LIBRARY: GOLDP 0x1004b2aa
// __local_unwind2
// LIBRARY: GOLDP 0x1004b33e
// __NLG_Notify
// aka `operator delete`
// LIBRARY: GOLDP 0x1004b356
// ??3@YAXPAX@Z
// LIBRARY: GOLDP 0x1004b361
// _sprintf
// aka `operator new`
// LIBRARY: GOLDP 0x1004b3b3
// ??2@YAPAXI@Z
// LIBRARY: GOLDP 0x1004b411
// ??_L@YGXPAXIHP6EX0@Z1@Z
// LIBRARY: GOLDP 0x1004b493
// ??_M@YGXPAXIHP6EX0@Z@Z
// LIBRARY: GOLDP 0x1004b513
// ?__ArrayUnwind@@YGXPAXIHP6EX0@Z@Z
// LIBRARY: GOLDP 0x1004b571
// __onexit
// LIBRARY: GOLDP 0x1004b5ef
// _atexit
// LIBRARY: GOLDP 0x1004b630
// _qsort
// LIBRARY: GOLDP 0x1004b7fe
// __purecall
// LIBRARY: GOLDP 0x1004b808
// __ftol
// LIBRARY: GOLDP 0x1004b830
// _strncpy
// LIBRARY: GOLDP 0x1004b930
// _strncmp
// LIBRARY: GOLDP 0x1004ba3b
// _isalpha
// LIBRARY: GOLDP 0x1004ba70
// _strrchr
// LIBRARY: GOLDP 0x1004ba97
// _toupper
// LIBRARY: GOLDP 0x1004bb06
// __toupper_lk
// LIBRARY: GOLDP 0x1004bbd2
// __tell
// LIBRARY: GOLDP 0x1004bbe3
// __lseek
// LIBRARY: GOLDP 0x1004bc48
// __lseek_lk
// LIBRARY: GOLDP 0x1004bd2e
// __errno
// LIBRARY: GOLDP 0x1004bd37
// ___doserrno
// LIBRARY: GOLDP 0x1004bd57
// __sopen
// LIBRARY: GOLDP 0x1004bd40
// __open
// LIBRARY: GOLDP 0x1004c026
// __close
// LIBRARY: GOLDP 0x1004c083
// __close_lk
// LIBRARY: GOLDP 0x1004c106
// __read
// LIBRARY: GOLDP 0x1004c16b
// __read_lk
// LIBRARY: GOLDP 0x1004c344
// __write
// LIBRARY: GOLDP 0x1004c3a9
// __write_lk
// LIBRARY: GOLDP 0x1004c534
// __commit
// LIBRARY: GOLDP 0x1004c5c7
// __CRT_INIT@12
// LIBRARY: GOLDP 0x1004c6a0
// __DllMainCRTStartup@12
// LIBRARY: GOLDP 0x1004c73d
// __amsg_exit
// LIBRARY: GOLDP 0x1004cfdc
// __mtinit
// LIBRARY: GOLDP 0x1004d030
// __mtterm
// LIBRARY: GOLDP 0x1004d061
// __getptd
// LIBRARY: GOLDP 0x1004d04e
// __initptd
// LIBRARY: GOLDP 0x1004d0c8
// __freeptd
// TODO #297: Seems to mismatch, maybe a custom allocator is used?
// LIBRARY: GOLDP 0x1004d21f
// _free
// LIBRARY: GOLDP 0x1004d308
// __flsbuf
// LIBRARY: GOLDP 0x1004d420
// __output
// LIBRARY: GOLDP 0x1004dc2a
// _malloc
// LIBRARY: GOLDP 0x1004dc3c
// __nh_malloc
// TODO #297: Seems to mismatch, maybe a custom allocator is used?
// LIBRARY: GOLDP 0x1004dc68
// __heap_alloc
// LIBRARY: GOLDP 0x1004e20c
// __except_handler3
// LIBRARY: GOLDP 0x1004e2e4
// __cinit
// LIBRARY: GOLDP 0x1004e311
// __exit
// LIBRARY: GOLDP 0x1004e322
// __cexit
// LIBRARY: GOLDP 0x1004e3d6
// __lockexit
// LIBRARY: GOLDP 0x1004e3df
// __unlockexit
// LIBRARY: GOLDP 0x1004e402
// _realloc
// LIBRARY: GOLDP 0x1004e72a
// __msize
// LIBRARY: GOLDP 0x1004f24c
// __isctype
// LIBRARY: GOLDP 0x1004f2c1
// __mtinitlocks
// LIBRARY: GOLDP 0x1004f2ea
// __mtdeletelocks
// LIBRARY: GOLDP 0x1004f356
// __lock
// LIBRARY: GOLDP 0x1004f3b7
// __unlock
// LIBRARY: GOLDP 0x1004f3cc
// ___crtLCMapStringA
// LIBRARY: GOLDP 0x1004f61b
// __alloc_osfhnd
// LIBRARY: GOLDP 0x1004f73e
// __set_osfhnd
// LIBRARY: GOLDP 0x1004f7ba
// __free_osfhnd
// LIBRARY: GOLDP 0x1004f839
// __get_osfhandle
// LIBRARY: GOLDP 0x1004f87b
// __lock_fhandle
// LIBRARY: GOLDP 0x1004f8da
// __unlock_fhandle
// LIBRARY: GOLDP 0x1004f8fc
// __ioinit
// LIBRARY: GOLDP 0x1004fab8
// __ioterm
// LIBRARY: GOLDP 0x1004fb0c
// __chsize_lk
// LIBRARY: GOLDP 0x1004fc31
// __setenvp
// LIBRARY: GOLDP 0x1004fcea
// __setargv
// LIBRARY: GOLDP 0x1004ff37
// ___crtGetEnvironmentStringsA
// LIBRARY: GOLDP 0x100501de
// __heap_init
// LIBRARY: GOLDP 0x1005023b
// __heap_term
// LIBRARY: GOLDP 0x100502e9
// __FF_MSGBANNER
// LIBRARY: GOLDP 0x10050322
// __NMSG_WRITE
// TODO #297: Seems to mismatch, maybe a custom allocator is used?
// LIBRARY: GOLDP 0x100508f5
// _calloc
// LIBRARY: GOLDP 0x10051c5d
// __getbuf
// LIBRARY: GOLDP 0x10051ca1
// __isatty
// LIBRARY: GOLDP 0x10051e30
// _strlen
// LIBRARY: GOLDP 0x10051eab
// _wctomb
// LIBRARY: GOLDP 0x10051f04
// __wctomb_lk
// LIBRARY: GOLDP 0x10051f70
// __aulldiv
// LIBRARY: GOLDP 0x10051fe0
// __aullrem
// LIBRARY: GOLDP 0x10052055
// __callnewh
// LIBRARY: GOLDP 0x10052890
// _strcpy
// LIBRARY: GOLDP 0x100528a0
// _strcat
// LIBRARY: GOLDP 0x10052980
// _memset
// LIBRARY: GOLDP 0x100529f0
// _memcpy
// LIBRARY: GOLDP 0x100529d8
// __fptrap
// LIBRARY: GOLDP 0x10052df8
// ___crtGetStringTypeA
// LIBRARY: GOLDP 0x10052fd0
// __chkstk
// LIBRARY: GOLDP 0x10052fff
// __setmode_lk
// LIBRARY: GOLDP 0x10053060
// __setmbcp
// LIBRARY: GOLDP 0x10053438
// ___initmbctable
// LIBRARY: GOLDP 0x100537c0
// ___crtMessageBoxA
// GLOBAL: GOLDP 0x1004bcbb
// __dosmaperr
// GLOBAL: GOLDP 0x10058098
// IID_IDirectDraw4
// GLOBAL: GOLDP 0x100580a8 SYMBOL
// IID_IDirectDrawSurface
// GLOBAL: GOLDP 0x100583b8
// IID_IDirect3D3
// GLOBAL: GOLDP 0x10058468
// IID_IDirect3DTexture2
// GLOBAL: GOLDP 0x10059990
// ___lookuptable
// GLOBAL: GOLDP 0x1005c000
// ___xc_a
// GLOBAL: GOLDP 0x1005c038
// ___xc_z
// GLOBAL: GOLDP 0x1005c03c
// ___xi_a
// GLOBAL: GOLDP 0x1005c050
// ___xi_z
// GLOBAL: GOLDP 0x1005f440
// __NLG_Destination
// GLOBAL: GOLDP 0x1005f458
// __FPinit
// GLOBAL: GOLDP 0x1005f600
// ___tlsindex
// GLOBAL: GOLDP 0x1005f97c
// ___mb_cur_max
// GLOBAL: GOLDP 0x1005f988
// __locktable
// GLOBAL: GOLDP 0x1005fc10
// __XcptActTab
// GLOBAL: GOLDP 0x10065f08
// ___error_mode
// GLOBAL: GOLDP 0x1005f608
// ___nullstring
// GLOBAL: GOLDP 0x1005f60c
// ___wnullstring
// GLOBAL: GOLDP 0x1005f770
// __pctype
// GLOBAL: GOLDP 0x1005fb58
// ___badioinfo
// GLOBAL: GOLDP 0x10061cc0
// __iob
// GLOBAL: GOLDP 0x10062078
// ___lc_time_curr
// GLOBAL: GOLDP 0x10065f00
// __aenvptr
// GLOBAL: GOLDP 0x10065f0c
// ___app_type
// GLOBAL: GOLDP 0x10065f10
// __umaskval
// GLOBAL: GOLDP 0x10065f14
// __osver
// GLOBAL: GOLDP 0x10065f18
// __winver
// GLOBAL: GOLDP 0x10065f1c
// __winmajor
// GLOBAL: GOLDP 0x10065f20
// __winminor
// GLOBAL: GOLDP 0x10065f24
// ___argc
// GLOBAL: GOLDP 0x10065f28
// ___argv
// GLOBAL: GOLDP 0x10065f30
// __environ
// GLOBAL: GOLDP 0x10065f40
// __pgmptr
// GLOBAL: GOLDP 0x10065f4c
// __C_Termination_Done
// GLOBAL: GOLDP 0x10065fdc
// ___lc_codepage
// GLOBAL: GOLDP 0x10065fe8
// __fmode
// GLOBAL: GOLDP 0x100660f4
// __adbgmsg
// GLOBAL: GOLDP 0x10066100
// __cflush
// GLOBAL: GOLDP 0x10066104
// __newmode
// GLOBAL: GOLDP 0x10066108
// ?_pnhHeap@@3P6AHI@ZA
// GLOBAL: GOLDP 0x10066270
// ___mbcodepage
// GLOBAL: GOLDP 0x10066280
// ___mbulinfo
// GLOBAL: GOLDP 0x1006628c
// ___ismbcodepage
// GLOBAL: GOLDP 0x100663a0
// __mbctype
// GLOBAL: GOLDP 0x100664a4
// ___mblcid
// GLOBAL: GOLDP 0x100664a8
// ___piob
// GLOBAL: GOLDP 0x100674c0
// __nstream
// GLOBAL: GOLDP 0x10067500
// ___pioinfo
// GLOBAL: GOLDP 0x10067600
// __nhandle
// GLOBAL: GOLDP 0x10067604
// ___setlc_active
// GLOBAL: GOLDP 0x10067608
// ___unguarded_readlc_active
// GLOBAL: GOLDP 0x1006760c
// ___env_initialized
// GLOBAL: GOLDP 0x10067610
// ___mbctype_initialized
// GLOBAL: GOLDP 0x10067614
// ___onexitend
// GLOBAL: GOLDP 0x10067618
// ___onexitbegin
// GLOBAL: GOLDP 0x1006761c
// __acmdln
// GLOBAL: GOLDP 0x10067620
// __pRawDllMain
/// Globals from libraries without symbols
// STRING: GOLDP 0x10059b94
static const char* ___crtLCMapStringA_str = "\0";
// STRING: GOLDP 0x10059b98
static const wchar_t* ___crtLCMapStringA_wstr = L"\0";
#endif