// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
0000: NOP
:Label00003C
wait 300
SAMP.Available
else_jump @Label00003C
:Label00004A
wait 0
23@ = SAMP.GetGamestate()
if
23@ == 3
else_jump @Label00004A
wait 5300
alloc 15@ 64
alloc 7@ 64
alloc 1@ 64
if
0AAB: file_exists "CLEO\ccleaner.ini"
else_jump @Label0000D0
0AF0: 15@ = get_int_from_ini_file "CLEO\ccleaner.ini" section "CCLEANER" key "memory"
jump @Label00015D
:Label0000D0
0AA7: call_function 8532696 num_params 2 pop 2 "wt+" "CLEO\ccleaner.ini" 18@
0AF1: write_int 400 to_ini_file "CLEO\ccleaner.ini" section "CCLEANER" key "memory"
0AF0: 15@ = get_int_from_ini_file "CLEO\ccleaner.ini" section "CCLEANER" key "memory"
0AA7: call_function 8532363 num_params 1 pop 1 18@ 18@
:Label00015D
wait 0
0B34: samp register_client_command "ccl" to_label @Label000546
0B34: samp register_client_command "cclinfo" to_label @Label0004E6
0B34: samp register_client_command "ccln" to_label @Label000384
chatmsg "{DC4747}[CCleaner] {73b461}Êîìàíäû: {FFFFFF}/ccl, /ccln {DFCFCF}[êîë-âî]{FFFFFF}, /cclinfo {dc4747}v3.2 {73b461}by Dapo Show" -1
:Label00020D
wait 0
0A8D: 7@ = read_memory 9325748 size 4 virtual_protect 1
7@ /= 1048576
0AF0: 15@ = get_int_from_ini_file "CLEO\ccleaner.ini" section "CCLEANER" key "memory"
if or
10@ == 1
002D: 7@ >= 15@ // (int)
else_jump @Label00020D
0A8D: 1@ = read_memory 9325748 size 4 virtual_protect 1
0AA7: call_function 5489920 num_params 2 pop 2 1 1
0AA7: call_function 5490704 num_params 1 pop 1 1
0AA7: call_function 4247424 num_params 0 pop 0
0AA7: call_function 4231328 num_params 0 pop 0
0AA7: call_function 5904560 num_params 0 pop 0
0AA7: call_function 7370608 num_params 0 pop 0
0A8D: 8@ = read_memory 9325748 size 4 virtual_protect 1
0062: 1@ -= 8@ // (int)
8@ /= 1048576
1@ /= 1048576
chatmsg "{DC4747}[CCleaner] {73b461}Ïàìÿòè äî: {FFFFFF}%dMB {73b461}Ïàìÿòè ïîñëå: {FFFFFF}%dMB {73b461}Î÷èùåíî: {FFFFFF}%dMB" -1 7@ 8@ 1@
10@ = 0
jump @Label00020D
:Label000384
SAMP.IsCommandTyped(0@)
0AD4: 1@ = scan_string 0@ format "%d" 2@
0C17: 9@ = strlen 0@
if
9@ > 0
else_jump @Label00048E
if
not 2@ > 49
else_jump @Label000411
chatmsg "{dc4747}[MemLimit] {73b461}Íåëüçÿ óñòàíîâèòü íèæå {FFFFFF}50MB" -1
jump @Label00048C
:Label000411
0AF1: write_int 2@ to_ini_file "CLEO\ccleaner.ini" section "CCLEANER" key "memory"
chatmsg "{dc4747}[MemLimit] {73b461}Çíà÷åíèå óñòàíîâëåíî íà: {FFFFFF}%dMB" -1 2@
jump @Label00048C
:Label00048C
SAMP.CmdRet
:Label00048E
chatmsg "{dc4747}[MemLimit] {73b461}Ââåäèòå: {dc4747}/ccln{FFFFFF} - êîë-âî íå íèæå 50MB" -1
SAMP.CmdRet
:Label0004E6
0A8D: 11@ = read_memory 9325748 size 4 virtual_protect 1
11@ /= 1048576
chatmsg "{dc4747}[CCleaner] {73b461}Ïàìÿòü çàãðóæåíà íà: {FFFFFF}%dMB" -1 11@
SAMP.CmdRet
:Label000546
0AA7: call_function 5488336 num_params 0 pop 0
0AA7: call_function 5489728 num_params 0 pop 0
0AA7: call_function 5489824 num_params 0 pop 0
0AA7: call_function 5489216 num_params 0 pop 0
0AA7: call_function 4233056 num_params 0 pop 0
0AA7: call_function 4231696 num_params 0 pop 0
0AA7: call_function 4249536 num_params 1 pop 1 -1
0AA7: call_function 4252896 num_params 0 pop 0
0AA7: call_function 7391568 num_params 0 pop 0
0AA7: call_function 4252768 num_params 0 pop 0
0AA7: call_function 4225552 num_params 0 pop 0
0AA7: call_function 4240288 num_params 0 pop 0
if
10@ == 0
else_jump @Label0005F1
10@ = 1
:Label0005F1
SAMP.CmdRet