-
Notifications
You must be signed in to change notification settings - Fork 0
/
gta2.segments.fixed.exe.h
5756 lines (5519 loc) · 139 KB
/
gta2.segments.fixed.exe.h
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
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
typedef unsigned char undefined;
typedef unsigned int ImageBaseOffset32;
typedef unsigned char byte;
typedef unsigned int dword;
typedef long long longlong;
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long long uint16;
typedef unsigned long ulong;
typedef unsigned long long ulonglong;
typedef unsigned char undefined1;
typedef unsigned short undefined2;
typedef unsigned int undefined3;
typedef unsigned int undefined4;
typedef unsigned long long undefined8;
typedef unsigned short ushort;
typedef unsigned short word;
typedef struct Car Car, *PCar;
typedef enum CAR_LIGHTS_AND_DOORS_BITSTATE {
BAGAGE_DOORS_OPEN1=2048,
BAGAGE_DOORS_OPEN2=4096,
BAGAGE_DOORS_OPEN3=8192,
BAGAGE_DOORS_OPEN4=16384,
BAGAGE_DOORS_SET2_OPEN1=268435456,
BAGAGE_DOORS_SET2_OPEN2=536870912,
BAGAGE_DOORS_SET2_OPEN3=1073741824,
BAGAGE_DOORS_SET2_OPEN4=2147483648,
BRAKES_LIGHT_LEFT=32,
BRAKES_LIGHT_RIGHT=4194304,
CABIN_FRONT_LEFT_LIGHT_IS_ON=65536,
CABIN_REAR_LEFT_LIGHT_IS_ON=262144,
CABIN_REAR_RIGHT_LIGHT_IS_ON=131072,
CABIN__FRONT_RIGHT_LIGHT_IS_ON=32768,
FRONT_GLASS_IS_BROKEN=16,
FRONT_LEFT_LIGHT_IS_TURNED_ON=64,
LEFT_FRONT_DOOR_IS_OPEN1=128,
LEFT_FRONT_DOOR_IS_OPEN2=256,
LEFT_FRONT_DOOR_IS_OPEN3=512,
LEFT_FRONT_DOOR_IS_OPEN4=1024,
LEFT_FRONT_LIGHT_IS_BROKEN=4,
LEFT_REAR_LIGHT_IS_BROKEN=2,
RIGHT_FRONT_DOOR_OPEN1=16777216,
RIGHT_FRONT_DOOR_OPEN2=33554432,
RIGHT_FRONT_DOOR_OPEN3=67108864,
RIGHT_FRONT_DOOR_OPEN4=134217728,
RIGHT_FRONT_LIGHT_IS_BROKEN=8,
RIGHT_FRONT_LIGHT_IS_ON=8388608,
RIGHT_REAR_LIGHT_IS_BROKEN=1,
UNBROKEN_TURNED_OFF=0,
UNK_100000=1048576,
UNK_200000=2097152,
UNK_80000=524288
} CAR_LIGHTS_AND_DOORS_BITSTATE;
typedef struct Pos Pos, *PPos;
typedef struct Ped Ped, *PPed;
typedef struct MaybeCarEngine MaybeCarEngine, *PMaybeCarEngine;
typedef uint UINT;
typedef enum CAR_MODEL {
ALFA=0,
ALLARD=1,
AMDB4=2,
APC=3,
BANKVAN=4,
BMW=5,
BOXCAR=6,
BOXTRUCK=7,
BUG=8,
BUICK=10,
BUS=11,
CAR15=15,
CAR20=20,
CAR43=43,
CAR9=9,
COPCAR=12,
DART=13,
EDSEL=14,
EDSELFBI=84,
FIAT=16,
FIRETRUK=17,
GRAHAM=18,
GT24640=19,
GTRUCK=21,
GUNJEEP=22,
HOTDOG=23,
HOTDOG_D1=24,
HOTDOG_D2=25,
HOTDOG_D3=26,
HOTDOG_D4=85,
ICECREAM=27,
ISETLIMO=28,
ISETTA=29,
JEEP=30,
JEFFREY=31,
KRSNABUS=86,
LIMO=32,
LIMO2=33,
MEDICAR=34,
MERC=35,
MESSER=36,
MIURA=37,
MONSTER=38,
MORGAN=39,
MORRIS=40,
PICKUP=41,
RTYPE=42,
SPIDER=44,
SPRITE=45,
STINGRAY=46,
STRATOS=47,
STRATOSB=48,
STRIPETB=49,
STYPE=50,
STYPECAB=51,
SWATVAN=52,
T2000GT=53,
TANK=54,
TANKER=55,
TAXI=56,
TBIRD=57,
TOWTRUCK=58,
TRAIN=59,
TRAINCAB=60,
TRAINFB=61,
TRANCEAM=62,
TRUKCAB1=63,
TRUKCAB2=64,
TRUKCONT=65,
TRUKTRNS=66,
TVVAN=67,
VAN=68,
VESPA=69,
VTYPE=70,
WBTWIN=71,
WRECK0=72,
WRECK1=73,
WRECK2=74,
WRECK3=75,
WRECK4=76,
WRECK5=77,
WRECK6=78,
WRECK7=79,
WRECK8=80,
WRECK9=81,
XK120=82,
ZCX5=83
} CAR_MODEL;
typedef enum CAR_ENGINE_STATE {
BROKEN_DOESNT_WORK=0,
ENGINE_OFF=1,
ENGINE_OFF2=6,
ENGINE_ON=3,
LIGHTS_ON_BUT_ENGINE_OFF_NO_FUEL=7,
REL_TO_CAR_SIREN=4,
TURNING_OFF=2,
TURN_ENGINE_OFF=5
} CAR_ENGINE_STATE;
typedef enum CAR_TYPE_COUNTER {
COUNTER_AMBULANCE=4,
COUNTER_FIRETRUCK=5,
COUNTER_MISSION_CAR=8,
COUNTER_PARKED_CAR_FROM_SCRIPT=9,
COUNTER_POLICE=7,
COUNTER_PROT_RECYCLED_CAR=2,
COUNTER_RECYCLED_CAR=1,
COUNTER_UNIT_CAR=6,
COUNTER_UNK4=3,
COUNTER_UNK6=10
} CAR_TYPE_COUNTER;
typedef enum CAR_SIREN_STATE {
CAR_ALARM=8,
SIREN_OFF=2,
SIREN_ON=4,
SIREN_UNK1=1,
SIREN_UNK_10=16
} CAR_SIREN_STATE;
typedef enum HORN {
HORN_ON=248
} HORN;
typedef struct S22_1 S22_1, *PS22_1;
typedef struct WEAPON_PLAYER_LIST WEAPON_PLAYER_LIST, *PWEAPON_PLAYER_LIST;
typedef struct Sprite Sprite, *PSprite;
typedef struct WEAPON_STRUCT WEAPON_STRUCT, *PWEAPON_STRUCT;
typedef enum COP_LEVEL {
COP_0_STARS=0,
COP_1_STAR=600,
COP_2_STARS=1600,
COP_3_STARS=3000,
COP_4_STARS=5000,
COP_5_STARS=8000,
COP_6_STARS=12000
} COP_LEVEL;
typedef enum PED_BIT_STATE {
FIRING_FROM_GUN=2048,
FOLLOW_CAR_TO_GET_IN=65536,
GETING_IN_OR_OUT_CAR=134217728,
MAYBE_ARMED=128,
MAYBE_UNARMED=512,
TOGGLED_ON_WHEN_FIRST_TIME_ATTACK_A_PED=4,
UNK_1_ALWAYS1=1,
UNK_2000=8192,
ZERO_ON_START_GAME_BUT_TOGGLED_ON_FIRST_CAR_ENTER=32768
} PED_BIT_STATE;
typedef enum OCUPATION {
ANY_ELVIS=49,
ANY_EMERGENCY_SERVICE_MAN=47,
ANY_GANG_MEMBER=48,
ANY_LAW_ENFORCEMENT=46,
ARMYARMY=27,
BANK_ROBBER=17,
CARTHIEF=16,
CRIMINAL=18,
CRIMINAL_TYPE1=33,
CRIMINAL_TYPE2=34,
DRIVER=5,
DRIVER2=10,
DRIVER3=50,
DRONE=41,
DUMMY=3,
ELVIS=22,
ELVIS_LEADER=44,
EMPTY=1,
FBI=26,
FIREMAN=38,
GUARD=28,
GUARD_AGAINST_PLAYER=32,
MUGGER=15,
NO_OCCUPATION=51,
PLAYER=0,
POLICE=24,
PSYCHO=14,
REFUGEES=45,
ROAD_BLOCK_TANK_MAN=39,
SPECIAL_GROUP_MEMBER=35,
STAND_STILL_BLOKE=43,
SWAT=25,
TANK_DRIVER=36,
UNKNOWN_OCUPATION13=19,
UNKNOWN_OCUPATION17=23,
UNKNOWN_OCUPATION2=2,
UNKNOWN_OCUPATION4=4,
UNKNOWN_OCUPATION8=8,
UNKNOWN_OCUPATION9=9,
UNK_REL_TO_POLICE1=29,
UNK_REL_TO_POLICE2=30,
UNK_REL_TO_POLICE3=31,
UNK_REL_TO_POLICE4=37
} OCUPATION;
typedef enum PED_STATE3 {
PED_STATE3_COP=54,
PED_STATE3_ENTERING_TO_CAR=35,
PED_STATE3_GANG_MEMBER=13,
PED_STATE3_GETTING_OUT_FROM_CAR=36,
PED_STATE3_UNK1=1,
PED_STATE3_UNK10=16,
PED_STATE3_UNK13=19,
PED_STATE3_UNK14=20,
PED_STATE3_UNK16=22,
PED_STATE3_UNK17=23,
PED_STATE3_UNK18=24,
PED_STATE3_UNK19=25,
PED_STATE3_UNK1a=26,
PED_STATE3_UNK1b=27,
PED_STATE3_UNK1f=31,
PED_STATE3_UNK2=2,
PED_STATE3_UNK20=32,
PED_STATE3_UNK21=33,
PED_STATE3_UNK22=34,
PED_STATE3_UNK25=37,
PED_STATE3_UNK26=38,
PED_STATE3_UNK2a=42,
PED_STATE3_UNK2b=43,
PED_STATE3_UNK3=3,
PED_STATE3_UNK33=51,
PED_STATE3_UNK34=52,
PED_STATE3_UNK37=55,
PED_STATE3_UNK38=56,
PED_STATE3_UNK39=57,
PED_STATE3_UNK3a=58,
PED_STATE3_UNK3b=59,
PED_STATE3_UNK3c=60,
PED_STATE3_UNK3d_REL_TO_MISSION_ARROWS=61,
PED_STATE3_UNK6=6,
PED_STATE3_UNK8=8,
PED_STATE3_UNKa=10,
PED_STATE3_UNKc=12,
PED_STATE3_UNKe=14
} PED_STATE3;
typedef enum PED_STATE {
PED_STATE_DRIVING_A_CAR=10,
PED_STATE_ENTERING_INTO_CAR=3,
PED_STATE_FALL_ON_GROUND=8,
PED_STATE_GETTING_OUT_FROM_CAR=4,
PED_STATE_GOING_TO_CAR=2,
PED_STATE_STAYING=7,
PED_STATE_WALK=0,
PED_STATE_WASTED=9
} PED_STATE;
typedef enum PED_STATE2 {
PED_STATE2_DRIVING=10,
PED_STATE2_ENTERING_TO_CAR=6,
PED_STATE2_FOLLOWING_A_CAR=4,
PED_STATE2_GETTING_OUT_FROM_CAR=7,
PED_STATE2_STAYING=14,
PED_STATE2_UNK_16=22,
PED_STATE2_UNK_f=15,
PED_STATE2_WALKING=0
} PED_STATE2;
typedef struct S22_2 S22_2, *PS22_2;
typedef enum WEAPON_INDEX {
ARMY_GUN_JEEP=22,
CAR_SMG=9,
ELECTRO_BATTON=7,
FIRE_TRUCK_GUN=20,
FLAMETHROWER=8,
GRENADE=5,
MOLOTOV=4,
PISTOL=0,
ROCKET=2,
SHOCKER=3,
SHOTGUN=6,
SMG=1,
TANK_MAIN_GUN=19
} WEAPON_INDEX;
struct WEAPON_PLAYER_LIST {
undefined field_0x0;
undefined field_0x1;
undefined field_0x2;
undefined field_0x3;
undefined field_0x4;
undefined field_0x5;
undefined field_0x6;
undefined field_0x7;
short field_0x8;
undefined field_0xa;
undefined field_0xb;
undefined field_0xc;
undefined field_0xd;
undefined field_0xe;
undefined field_0xf;
undefined field_0x10;
undefined field_0x11;
undefined field_0x12;
undefined field_0x13;
undefined field_0x14;
undefined field_0x15;
undefined field_0x16;
undefined field_0x17;
undefined field_0x18;
undefined field_0x19;
undefined field_0x1a;
undefined field_0x1b;
undefined field_0x1c;
undefined field_0x1d;
undefined field_0x1e;
undefined field_0x1f;
undefined field_0x20;
undefined field_0x21;
undefined field_0x22;
undefined field_0x23;
undefined field_0x24;
undefined field_0x25;
undefined field_0x26;
undefined field_0x27;
undefined field_0x28;
undefined field_0x29;
undefined field_0x2a;
undefined field_0x2b;
undefined field_0x2c;
undefined field_0x2d;
undefined field_0x2e;
undefined field_0x2f;
undefined field_0x30;
undefined field_0x31;
undefined field_0x32;
undefined field_0x33;
undefined field_0x34;
undefined field_0x35;
undefined field_0x36;
undefined field_0x37;
undefined field_0x38;
undefined field_0x39;
undefined field_0x3a;
undefined field_0x3b;
undefined field_0x3c;
undefined field_0x3d;
undefined field_0x3e;
undefined field_0x3f;
undefined field_0x40;
undefined field_0x41;
undefined field_0x42;
undefined field_0x43;
undefined field_0x44;
undefined field_0x45;
undefined field_0x46;
undefined field_0x47;
undefined field_0x48;
undefined field_0x49;
undefined field_0x4a;
undefined field_0x4b;
undefined field_0x4c;
undefined field_0x4d;
undefined field_0x4e;
undefined field_0x4f;
uint bitMask;
undefined field_0x54[1732];
struct WEAPON_STRUCT * weapons[22]; /* Created by retype action */
undefined field_0x770;
undefined field_0x771;
undefined field_0x772;
undefined field_0x773;
undefined field_0x774;
undefined field_0x775;
undefined field_0x776;
undefined field_0x777;
undefined field_0x778;
undefined field_0x779;
undefined field_0x77a;
undefined field_0x77b;
undefined field_0x77c;
undefined field_0x77d;
undefined field_0x77e;
undefined field_0x77f;
undefined field_0x780;
undefined field_0x781;
undefined field_0x782;
undefined field_0x783;
undefined field_0x784;
undefined field_0x785;
undefined field_0x786;
undefined field_0x787;
short count; /* Created by retype action */
};
struct Sprite {
uint id;
int field_0x4;
uint state1;
int field_0xc;
uint relToId;
int field_0x14;
uint field_0x18;
int field_0x1c;
undefined field_0x20;
undefined field_0x21;
undefined field_0x22;
undefined field_0x23;
ushort maybe_id;
undefined field_0x26;
undefined field_0x27;
undefined field_0x28;
undefined field_0x29;
undefined field_0x2a;
undefined field_0x2b;
undefined field_0x2c;
undefined field_0x2d;
undefined field_0x2e;
undefined field_0x2f;
undefined field_0x30;
undefined field_0x31;
undefined field_0x32;
undefined field_0x33;
undefined field_0x34;
undefined field_0x35;
undefined field_0x36;
undefined field_0x37;
int field_0x38;
int field_0x3c;
short spriteRotation;
short field_0x42;
byte field_0x44;
undefined field_0x45;
short field_0x46;
undefined field_0x48;
undefined field_0x49;
short unknownIdleTimer;
undefined field_0x4c;
undefined field_0x4d;
undefined field_0x4e;
undefined field_0x4f;
undefined field_0x50;
undefined field_0x51;
undefined field_0x52;
undefined field_0x53;
undefined field_0x54;
undefined field_0x55;
undefined field_0x56;
undefined field_0x57;
uint bit1;
undefined field_0x5c;
undefined field_0x5d;
undefined field_0x5e;
undefined field_0x5f;
undefined field_0x60;
undefined field_0x61;
undefined field_0x62;
undefined field_0x63;
undefined field_0x64;
undefined field_0x65;
undefined field_0x66;
undefined field_0x67;
byte field_0x68;
undefined field_0x69;
undefined field_0x6a;
undefined field_0x6b;
int field_0x6c;
undefined field_0x70;
undefined field_0x71;
undefined field_0x72;
undefined field_0x73;
undefined field_0x74;
undefined field_0x75;
undefined field_0x76;
undefined field_0x77;
struct Sprite * MaybeNext;
struct Ped * ped;
struct Pos * actualPosition;
undefined field_0x84;
undefined field_0x85;
undefined field_0x86;
undefined field_0x87;
undefined field_0x88;
undefined field_0x89;
undefined field_0x8a;
undefined field_0x8b;
undefined field_0x8c;
undefined field_0x8d;
undefined field_0x8e;
undefined field_0x8f;
int field_0x90;
void * field_0x94;
undefined field_0x98;
undefined field_0x99;
undefined field_0x9a;
undefined field_0x9b;
undefined field_0x9c;
undefined field_0x9d;
undefined field_0x9e;
undefined field_0x9f;
undefined field_0xa0;
undefined field_0xa1;
undefined field_0xa2;
undefined field_0xa3;
undefined field_0xa4;
undefined field_0xa5;
undefined field_0xa6;
undefined field_0xa7;
undefined field_0xa8;
undefined field_0xa9;
undefined field_0xaa;
undefined field_0xab;
undefined field_0xac;
undefined field_0xad;
undefined field_0xae;
undefined field_0xaf;
int field_0xb0;
undefined field_0xb4;
undefined field_0xb5;
undefined field_0xb6;
undefined field_0xb7;
undefined field_0xb8;
undefined field_0xb9;
undefined field_0xba;
undefined field_0xbb;
undefined field_0xbc;
undefined field_0xbd;
undefined field_0xbe;
undefined field_0xbf;
undefined field_0xc0;
undefined field_0xc1;
undefined field_0xc2;
undefined field_0xc3;
undefined field_0xc4;
undefined field_0xc5;
undefined field_0xc6;
undefined field_0xc7;
undefined field_0xc8;
undefined field_0xc9;
undefined field_0xca;
undefined field_0xcb;
undefined field_0xcc;
undefined field_0xcd;
undefined field_0xce;
undefined field_0xcf;
undefined field_0xd0;
undefined field_0xd1;
undefined field_0xd2;
undefined field_0xd3;
undefined field_0xd4;
undefined field_0xd5;
undefined field_0xd6;
undefined field_0xd7;
undefined field_0xd8;
undefined field_0xd9;
undefined field_0xda;
undefined field_0xdb;
undefined field_0xdc;
undefined field_0xdd;
undefined field_0xde;
undefined field_0xdf;
undefined field_0xe0;
undefined field_0xe1;
undefined field_0xe2;
undefined field_0xe3;
undefined field_0xe4;
undefined field_0xe5;
undefined field_0xe6;
undefined field_0xe7;
undefined field_0xe8;
undefined field_0xe9;
undefined field_0xea;
undefined field_0xeb;
undefined field_0xec;
undefined field_0xed;
undefined field_0xee;
undefined field_0xef;
undefined field_0xf0;
undefined field_0xf1;
undefined field_0xf2;
undefined field_0xf3;
undefined field_0xf4;
undefined field_0xf5;
undefined field_0xf6;
undefined field_0xf7;
undefined field_0xf8;
undefined field_0xf9;
undefined field_0xfa;
undefined field_0xfb;
undefined field_0xfc;
undefined field_0xfd;
undefined field_0xfe;
undefined field_0xff;
};
struct Car {
undefined field_0x0;
undefined field_0x1;
undefined field_0x2;
undefined field_0x3;
undefined field_0x4;
undefined field_0x5;
undefined field_0x6;
undefined field_0x7;
enum CAR_LIGHTS_AND_DOORS_BITSTATE carLights;
undefined field_0xc;
undefined field_0xd;
undefined field_0xe;
undefined field_0xf;
undefined field_0x10;
undefined field_0x11;
undefined field_0x12;
undefined field_0x13;
undefined field_0x14;
undefined field_0x15;
undefined field_0x16;
undefined field_0x17;
undefined field_0x18;
undefined field_0x19;
undefined field_0x1a;
undefined field_0x1b;
undefined field_0x1c;
undefined field_0x1d;
undefined field_0x1e;
undefined field_0x1f;
undefined field_0x20;
undefined field_0x21;
undefined field_0x22;
undefined field_0x23;
uint bitMask2;
undefined field_0x28;
undefined field_0x29;
undefined field_0x2a;
undefined field_0x2b;
undefined field_0x2c;
undefined field_0x2d;
undefined field_0x2e;
undefined field_0x2f;
undefined field_0x30;
undefined field_0x31;
undefined field_0x32;
undefined field_0x33;
undefined field_0x34;
undefined field_0x35;
undefined field_0x36;
undefined field_0x37;
undefined field_0x38;
undefined field_0x39;
undefined field_0x3a;
undefined field_0x3b;
int field_0x3c;
undefined field_0x40;
undefined field_0x41;
undefined field_0x42;
undefined field_0x43;
undefined field_0x44;
undefined field_0x45;
undefined field_0x46;
undefined field_0x47;
undefined field_0x48;
undefined field_0x49;
undefined field_0x4a;
undefined field_0x4b;
int field_0x4c;
struct Pos * position;
struct Ped * driver; /* Created by retype action */
struct MaybeCarEngine * maybeEngine;
void * field_0x5c;
void * field_0x60;
void * field_0x64;
undefined field_0x68;
undefined field_0x69;
undefined field_0x6a;
undefined field_0x6b;
uint id;
int driverPedId; /* Created by retype action */
undefined field_0x74;
byte carDamagePercent;
short field_0x76;
byte bitMask;
undefined field_0x79;
undefined field_0x7a;
undefined field_0x7b;
UINT field_0x7c;
undefined field_0x80;
undefined field_0x81;
undefined field_0x82;
undefined field_0x83;
enum CAR_MODEL carModel;
uint mask;
undefined field_0x8c;
byte field_0x8d;
undefined field_0x8e;
undefined field_0x8f;
undefined field_0x90;
undefined field_0x91;
undefined field_0x92;
undefined field_0x93;
undefined field_0x94;
byte pedId; /* Created by retype action */
undefined field_0x96;
undefined field_0x97;
byte locksDoor; /* 1 - locked, 2 - unlocked */
undefined field_0x99;
undefined field_0x9a;
undefined field_0x9b;
enum CAR_ENGINE_STATE engineState;
enum CAR_TYPE_COUNTER type;
enum CAR_SIREN_STATE sirenState;
undefined field_0xa5;
undefined field_0xa6;
enum HORN horn;
};
struct Pos {
short rotation;
undefined field_0x2;
undefined field_0x3;
struct Pos * MaybePrev;
int field_0x8;
struct S22_1 * s22_1;
void * ptrRelToPos;
int x;
int y;
int z;
short incFromS20;
short field_0x22;
short field_0x24;
undefined field_0x26;
undefined field_0x27;
int field_0x28;
byte field_0x2c;
undefined field_0x2d;
undefined field_0x2e;
undefined field_0x2f;
int field_0x30;
int field_0x34;
byte field_0x38;
byte field_0x39;
undefined field_0x3a;
undefined field_0x3b;
};
struct WEAPON_STRUCT {
short ammo;
byte timeToReload;
undefined field_0x3;
int field_0x4;
undefined field_0x8;
undefined field_0x9;
undefined field_0xa;
undefined field_0xb;
undefined field_0xc;
undefined field_0xd;
undefined field_0xe;
undefined field_0xf;
undefined field_0x10;
undefined field_0x11;
undefined field_0x12;
undefined field_0x13;
int carId; /* Created by retype action */
struct WEAPON_STRUCT * nextWeapon;
enum WEAPON_INDEX id;
undefined field_0x20;
undefined field_0x21;
undefined field_0x22;
undefined field_0x23;
struct Ped * ped;
undefined field_0x28;
undefined field_0x29;
undefined field_0x2a;
undefined field_0x2b;
byte field_0x2c;
undefined field_0x2d;
undefined field_0x2e;
undefined field_0x2f;
};
struct MaybeCarEngine {
undefined field_0x0;
undefined field_0x1;
undefined field_0x2;
undefined field_0x3;
undefined field_0x4;
undefined field_0x5;
undefined field_0x6;
undefined field_0x7;
undefined field_0x8;
undefined field_0x9;
undefined field_0xa;
undefined field_0xb;
struct MaybeCarEngine * next;
int field_0x10[2][4];
undefined field_0x30;
undefined field_0x31;
undefined field_0x32;
undefined field_0x33;
undefined field_0x34;
undefined field_0x35;
undefined field_0x36;
undefined field_0x37;
undefined field_0x38;
undefined field_0x39;
undefined field_0x3a;
undefined field_0x3b;
undefined field_0x3c;
undefined field_0x3d;
undefined field_0x3e;
undefined field_0x3f;
undefined field_0x40;
undefined field_0x41;
undefined field_0x42;
undefined field_0x43;
undefined field_0x44;
undefined field_0x45;
undefined field_0x46;
undefined field_0x47;
undefined field_0x48;
undefined field_0x49;
undefined field_0x4a;
undefined field_0x4b;
undefined field_0x4c;
undefined field_0x4d;
undefined field_0x4e;
undefined field_0x4f;
undefined field_0x50;
undefined field_0x51;
undefined field_0x52;
undefined field_0x53;
undefined field_0x54;
undefined field_0x55;
undefined field_0x56;
undefined field_0x57;
undefined field_0x58;
undefined field_0x59;
undefined field_0x5a;
undefined field_0x5b;
void * MaybePrev;
undefined field_0x60;
undefined field_0x61;
undefined field_0x62;
undefined field_0x63;
undefined field_0x64;
undefined field_0x65;
undefined field_0x66;
undefined field_0x67;
undefined field_0x68;
undefined field_0x69;
undefined field_0x6a;
undefined field_0x6b;
undefined field_0x6c;
undefined field_0x6d;
undefined field_0x6e;
undefined field_0x6f;
undefined field_0x70;
undefined field_0x71;
undefined field_0x72;
undefined field_0x73;
undefined field_0x74;
undefined field_0x75;
undefined field_0x76;
undefined field_0x77;
undefined field_0x78;
undefined field_0x79;
undefined field_0x7a;
undefined field_0x7b;
undefined field_0x7c;
undefined field_0x7d;
undefined field_0x7e;
undefined field_0x7f;
undefined field_0x80;
undefined field_0x81;
undefined field_0x82;
undefined field_0x83;
undefined field_0x84;
undefined field_0x85;
undefined field_0x86;
undefined field_0x87;
undefined field_0x88;
undefined field_0x89;
undefined field_0x8a;
undefined field_0x8b;
undefined field_0x8c;
undefined field_0x8d;
undefined field_0x8e;
undefined field_0x8f;
undefined field_0x90;
undefined field_0x91;
byte field_0x92;
undefined field_0x93;
undefined field_0x94;
undefined field_0x95;
undefined field_0x96;
undefined field_0x97;
undefined field_0x98;
undefined field_0x99;
undefined field_0x9a;
undefined field_0x9b;
undefined field_0x9c;
undefined field_0x9d;
undefined field_0x9e;
undefined field_0x9f;
undefined field_0xa0;
undefined field_0xa1;
undefined field_0xa2;
undefined field_0xa3;
undefined field_0xa4;
undefined field_0xa5;
undefined field_0xa6;
undefined field_0xa7;
undefined field_0xa8;
undefined field_0xa9;
undefined field_0xaa;
undefined field_0xab;
undefined field_0xac;
undefined field_0xad;
undefined field_0xae;
undefined field_0xaf;
};
struct S22_2 {
undefined field_0x0;
undefined field_0x1;
undefined field_0x2;
undefined field_0x3;
undefined field_0x4;
undefined field_0x5;
undefined field_0x6;
undefined field_0x7;
};
struct S22_1 {
int field_0x0;
int field_0x4;
int field_0x8;
struct S22_2 field_0xc[4];
struct S22_1 * ref1;
undefined field_0x30;