-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathplpanel.txt
67 lines (59 loc) · 1.81 KB
/
plpanel.txt
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
{$CLEO}
{$NOSOURCE}
03A4: name_thread 'PLHUDMO'
:MAIN_LOOP
0001: wait 0
0006: 0@ = -1 // LOCALVAR ASSIGNMENT INT
0006: 8@ = 0 // LOCALVAR ASSIGNMENT INT
0006: 9@ = 1 // LOCALVAR ASSIGNMENT INT
001B: 700 > 32@ // LOCALVAR CMP INT
004D: jf @RESETBLINK
0019: 32@ > 500 // LOCALVAR CMP INT
004D: jf @SKIPBLINK
0006: 9@ = 0 // LOCALVAR ASSIGNMENT INT
0002: jump @SKIPBLINK
:RESETBLINK
0006: 32@ = 0 // LOCALVAR ASSIGNMENT INT
:SKIPBLINK
00DF: actor $PLAYER_ACTOR driving
004D: jf @NOCAR
03C0: 30@ = actor $PLAYER_ACTOR car
8119: not car 30@ wrecked
004D: jf @NOCAR
056E: car 30@ defined
004D: jf @NOCAR
00D6: if or
04A9: actor $PLAYER_ACTOR driving_heli
04AB: actor $PLAYER_ACTOR driving_plane
004D: jf @NOPLANE
0006: 8@ = 1 // LOCALVAR ASSIGNMENT INT
:NOPLANE
0A97: 0@ = car 30@ struct
000A: 0@ += 0x4C0
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
0092: 0@ = float 0@ to_integer
0174: 1@ = car 30@ Z_angle
0092: 1@ = float 1@ to_integer
06A2: get_car 30@ velocity_in_direction_XYZ 2@ 3@ 4@
00AA: store_car 30@ position_to 5@ 6@ 7@
:NOCAR
{$O 6C37=13,%1d% %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d% %10d% %11d% %12d% %13d%}
6C37: carhp 0@ carheading 1@ carspeedx 2@ carspeedy 3@ carspeedz 4@ carx 5@ cary 6@ carz 7@ isplane 8@ blink 9@ rewriteaddr 0@ changestuff 1@ hudhook 2@
0019: 0@ > 0 // LOCALVAR CMP INT
004D: jump_if_false @NOREWRITE
0A8C: write_memory 0@ size 1 value 0xE8 virtual_protect 1
000A: 0@ += 1 // LOCALVAR PLUS INT
0A8C: write_memory 0@ size 4 value 1@ virtual_protect 1
0019: 2@ > 0 // LOCALVAR CMP INT
004D: jump_if_false @NOREWRITE
0A8C: write_memory 0x58EE9F size 1 value 0xE8 virtual_protect 1
0A8C: write_memory 0x58EEA0 size 4 value 2@ virtual_protect 1
:NOREWRITE
/*
0AB0: key_pressed 0x74 // F5
004D: jump_if_false @MAIN_LOOP
{$O 6C36=0,}
6C36:
*/
0002: jump @MAIN_LOOP
0A93: end_custom_thread