// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
13@ = 0
:Label000009
not SAMP.Available
else_jump @Label00001E
wait 400
jump @Label000009
:Label00001E
wait 1000
chatmsg "{A3E900}[AntiCheat]: {FFFFFF}Óñïåøíî çàãðóæåí. Àâòîð: {A3E900}Niko" -1
0C74: 1@ = create_timer_interval 0 on_label -1932
0C78: set_timer 1@ active 0
call @Label00063B 0
0BFC: set_global_var "Count" = -1
0C6A: 0@ = create_custom_thread_at_label -569
0C6A: 0@ = create_custom_thread_at_label -1172
0BE4: raknet setup_incoming_packet_hook -811
0B34: samp register_client_command "ac" to_label @Label00010F
0B34: samp register_client_command "ac_c" to_label @Label00019A
0B34: samp register_client_command "ac_t" to_label @Label0000E1
:Label0000D6
wait 0
jump @Label0000D6
:Label0000E1
SAMP.IsCommandTyped(25@)
0C17: 26@ = strlen 25@
if
26@ > 0
else_jump @Label00010D
call @Label0001B1 1 25@
:Label00010D
SAMP.CmdRet
:Label00010F
if
call @Label000693 0
else_jump @Label000162
0BFC: set_global_var "OnOff" = 0
chatmsg "{A3E900}[AntiCheat]: {FFFFFF}Âûêëþ÷åí" -1
jump @Label000198
:Label000162
0BFC: set_global_var "OnOff" = 1
chatmsg "{A3E900}[AntiCheat]: {FFFFFF}Âêëþ÷åí" -1
:Label000198
SAMP.CmdRet
:Label00019A
0BFC: set_global_var "Count" = -1
call @Label00063B 0
SAMP.CmdRet
:Label0001B1
call @Label0005F1 0 1@
format 2@v "%d" 1@
call @Label0006C1 0 4@ 5@ 6@
alloc 3@ 180
format 3@ "[%02d:%02d:%02d] %s" 4@ 5@ 6@ 0@
0AF5: write_string 3@ to_ini_file "CLEO\AntiCheat.ini" section "Text" key 2@v
free 3@
ret 0
0@ = Render.CreateFont("Tahoma", 10, 4)
:Label00024A
wait 0
if
call @Label000693 0
else_jump @Label000324
call @Label0005AD 0 1@ 2@
1@ -= 100
Render.DrawBorderedBox(1@, 2@, 530, 180, 838860800, 2, 1677786880)
1@ += 5
2@ += 3
3@ = 0
:Label0002A9
format 4@v "%d" 3@
alloc 5@ 180
0C11: memset destination 5@ value 0 size 180
0AF4: 5@ = read_string_from_ini_file "CLEO\AntiCheat.ini" section "Text" key 4@v
Render.DrawText(0@, 5@, 1@, 2@, -1)
free 5@
call @Label0005E2 1 2@ 2@
3@ += 1
3@ > 9
else_jump @Label0002A9
:Label000324
jump @Label00024A
if
call @Label000693 0
else_jump @Label000490
0BE5: raknet 2@ = get_hook_param 1
if
2@ == 206
else_jump @Label000490
0BE5: raknet 3@ = get_hook_param 0
alloc 4@ 40
0C11: memset destination 4@ value 0 size 40
BitStream.IgnoreBits(3@, 8)
5@ = BitStream.Read(3@, 2)
BitStream.ReadArray(3@, 4@, 40)
0C0C: 10@ = struct 4@ offset 0 size 1
0C0C: 6@ = struct 4@ offset 27 size 4
0C0C: 7@ = struct 4@ offset 31 size 4
if and
6@ == 0.0
7@ == 0.0
else_jump @Label000437
call @Label000767 1 5@ 8@
alloc 9@ 64
format 9@ "Èãðîê: %s[%d], âîçìîæíî èñïîëüçóåò SilentAim" 8@ 5@
call @Label0001B1 1 9@
free 9@
wait 2000
:Label000437
if
8C79: not is_timer 1@ active
else_jump @Label00048B
if
10@ == 1
else_jump @Label00048B
0C0C: 11@ = struct 4@ offset 1 size 2
if
not SAMP.IsPlayerPaused(11@)
else_jump @Label00048B
12@ = SAMP.GetPlayerHealthByActorHandle(11@)
13@ = 0
0C78: set_timer 1@ active 1
:Label00048B
free 4@
:Label000490
0BE0: raknet hook_ret 1
:Label000494
wait 0
if
call @Label000693 0
else_jump @Label0005A6
0@ = 0
:Label0004B4
if
SAMP.IsPlayerConnected(0@)
else_jump @Label00058B
1@ = SAMP.GetActorHandleByPlayerID(0@)
if
056D: actor 1@ defined
else_jump @Label00058B
if
not Actor.Driving(1@)
else_jump @Label00058B
Actor.StorePos(1@, 2@, 3@, 4@)
02CE: 5@ = ground_z_at 2@ 3@ 4@
if
8035: not 4@ >= 5@ // (float)
else_jump @Label00058B
call @Label000767 1 0@ 6@
alloc 7@ 128
0C11: memset destination 7@ value 0 size 128
format 7@ "Èãðîê: %s[%d], âîçìîæíî èñïîëüçóåò CoordMaster" 6@ 0@
call @Label0001B1 1 7@
free 7@
:Label00058B
0@ += 1
0@ > 999
else_jump @Label0004B4
wait 1500
:Label0005A6
jump @Label000494
:Label0005AD
SAMP.GetScreenResolution(0@, 1@)
0@ /= 1.5
1@ /= 1.5
0@ += 10
1@ += 40
ret 2 0@ 1@
:Label0005E2
0@ += 17
ret 1 0@
:Label0005F1
0BFD: 0@ = get_global_var "Count"
0@ += 1
if
0@ > 9
else_jump @Label000627
call @Label00063B 0
0@ = 0
:Label000627
0BFC: set_global_var "Count" = 0@
ret 1 0@
:Label00063B
format 0@v ""
1@ = 0
:Label00064A
format 2@v "%d" 1@
0AF5: write_string 0@v to_ini_file "CLEO\AntiCheat.ini" section "Text" key 2@v
1@ += 1
1@ > 9
else_jump @Label00064A
ret 0
:Label000693
0BFD: 0@ = get_global_var "OnOff"
if
0@ == 1
else_jump @Label0006BA
return_true
jump @Label0006BC
:Label0006BA
return_false
:Label0006BC
ret 0
:Label0006C1
0AA2: 0@ = load_library "kernel32.dll" // IF and SET
0AA4: 1@ = get_proc_address "GetLocalTime" library 0@ // IF and SET
alloc 2@ 16
0AA5: call 1@ num_params 1 pop 0 2@
0085: 3@ = 2@ // (int)
3@ += 2
3@ += 2
3@ += 2
3@ += 2
0A8D: 4@ = read_memory 3@ size 2 virtual_protect 0
3@ += 2
0A8D: 5@ = read_memory 3@ size 2 virtual_protect 0
3@ += 2
0A8D: 6@ = read_memory 3@ size 2 virtual_protect 0
free 2@
ret 3 4@ 5@ 6@
:Label000767
alloc 1@ 24
0C11: memset destination 1@ value 0 size 24
1@ = SAMP.GetPlayerNickname(0@)
free 1@
ret 1 1@
13@ += 1
14@ = SAMP.GetPlayerHealthByActorHandle(11@)
if
001D: 14@ > 12@ // (int)
else_jump @Label0007B5
0C78: set_timer 1@ active 0
:Label0007B5
if
13@ == 200
else_jump @Label000868
14@ = SAMP.GetPlayerHealthByActorHandle(11@)
if
003B: 12@ == 14@ // (int)
else_jump @Label000861
if
not 14@ == 0
else_jump @Label000861
alloc 15@ 128
0C11: memset destination 15@ value 0 size 128
call @Label000767 1 11@ 16@
format 15@ "Èãðîê: %s[%d], âîçìîæíî èñïîëüçóåò GodMode" 16@ 11@
call @Label0001B1 1 15@
free 15@
:Label000861
0C78: set_timer 1@ active 0
:Label000868
SAMP.CmdRet