// This file was decompiled using SASCM.ini published by GTAG (
http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
{0} 0000: NOP
:Noname_2
{2} 0001: wait 400 ms
{7} 0AFA: is_samp_available
{9} 004D: jump_if_false @Noname_2
{16} 0661: NOP "ANTI AFK ON DIALOGS"
{39} 0661: NOP "by MogAika"
{53} 0661: NOP "BlastHack.net"
{70} 0661: NOP "Version 2.0"
{85} 0B80: dialog 0@ = create "AFK Master by MogAika"
{113} 0B84: dialog 0@ set_pos_XY 0 0 size 360 152
{128} 0AB1: call_scm_func @Noname_911 1 0@
{141} 0B83: dialog 0@ add_checkbox id 1 text "Работа скриптов в оконном режиме" pos_XY 8 8 size 356 24
{191} 0B83: dialog 0@ add_checkbox id 2 text "Работа скриптов в свернутом режиме" pos_XY 8 32 size 356 24
{243} 0B83: dialog 0@ add_checkbox id 3 text "Зациклить показ мыши" pos_XY 8 56 size 316 24
{281} 0B83: dialog 0@ add_checkbox id 4 text "Отключить центрирование мыши" pos_XY 8 80 size 316 24
{327} 0B82: dialog 0@ add_button id 255 text "Закрыть окно" pos_XY 8 104 size 316 24
{358} 0B90: dialog 0@ control 2 set_visible 0
{367} 0B9E: dialog 0@ checkbox 4 set_checked 1
{376} 0B86: dialog 0@ set_visible 0
{383} 0B34: samp register_client_command "
aafk" to_label @Noname_898
{396} 0C11: memset destination 7623723 value 144 size 8
{408} 0006: 20@ = 0
:Noname_415
{415} 0001: wait 0 ms
{419} 0AB1: call_scm_func @Noname_911 1 0@
{432} 00D6: if
{436} 0039: 20@ == 1
{443} 004D: jump_if_false @Noname_454
{450} 0B8D: samp set_cursor_mode 2
:Noname_454
{454} 0B81: dialog 0@ pop_event_to 1@ control_id_to 2@
{465} 004D: jump_if_false @Noname_889
{472} 0001: wait 0 ms
{476} 00D6: if
{480} 0039: 2@ == 1
{487} 004D: jump_if_false @Noname_641
{494} 00D6: if
{498} 0B92: dialog 0@ checkbox 1 is_checked
{505} 004D: jump_if_false @Noname_584
{512} 0B90: dialog 0@ control 2 set_visible 1
{521} 0A8C: write_memory 7634870 size 1 value 1 virtual_protect 1
{534} 0A8C: write_memory 7635034 size 1 value 1 virtual_protect 1
{547} 00D6: if
{551} 0B92: dialog 0@ checkbox 2 is_checked
{558} 004D: jump_if_false @Noname_577
{565} 0C11: memset destination 5499528 value 144 size 6
:Noname_577
{577} 0002: jump @Noname_641
:Noname_584
{584} 0B90: dialog 0@ control 2 set_visible 0
{593} 0A8C: write_memory 7634870 size 1 value 0 virtual_protect 1
{606} 0A8C: write_memory 7635034 size 1 value 0 virtual_protect 1
{619} 0AC6: 3@ = label @Noname_1006 offset
{629} 0C10: memcpy destination 5499528 source 3@ size 6
:Noname_641
{641} 00D6: if
{645} 0039: 2@ == 2
{652} 004D: jump_if_false @Noname_718
{659} 00D6: if
{663} 0B92: dialog 0@ checkbox 2 is_checked
{670} 004D: jump_if_false @Noname_696
{677} 0C11: memset destination 5499528 value 144 size 6
{689} 0002: jump @Noname_718
:Noname_696
{696} 0AC6: 3@ = label @Noname_1006 offset
{706} 0C10: memcpy destination 5499528 source 3@ size 6
:Noname_718
{718} 00D6: if
{722} 0039: 2@ == 3
{729} 004D: jump_if_false @Noname_775
{736} 00D6: if
{740} 0B92: dialog 0@ checkbox 3 is_checked
{747} 004D: jump_if_false @Noname_768
{754} 0006: 20@ = 1
{761} 0002: jump @Noname_775
:Noname_768
{768} 0006: 20@ = 0
:Noname_775
{775} 00D6: if
{779} 0039: 2@ == 4
{786} 004D: jump_if_false @Noname_852
{793} 00D6: if
{797} 0B92: dialog 0@ checkbox 4 is_checked
{804} 004D: jump_if_false @Noname_830
{811} 0C11: memset destination 7623723 value 144 size 8
{823} 0002: jump @Noname_852
:Noname_830
{830} 0AC6: 3@ = label @Noname_1014 offset
{840} 0C10: memcpy destination 7623723 source 3@ size 8
:Noname_852
{852} 00D6: if
{856} 0039: 2@ == 255
{864} 004D: jump_if_false @Noname_882
{871} 0B86: dialog 0@ set_visible 0
{878} 0B5D: samp toggle_cursor 0
:Noname_882
{882} 0002: jump @Noname_454
:Noname_889
{889} 0002: jump @Noname_415
{896} 0A93: end_custom_thread
:Noname_898
{898} 0B86: dialog 0@ set_visible 1
{905} 0B5D: samp toggle_cursor 1
{909} 0B43: samp cmd_ret
:Noname_911
{911} 0B85: dialog 0@ get_position_to 1@ 2@ size_to 3@ 4@
{928} 0B5A: get_screen_resolution 5@ 6@
{936} 0062: 5@ -= 3@ // (int)
{944} 0016: 5@ /= 2
{951} 0062: 6@ -= 4@ // (int)
{959} 0B84: dialog 0@ set_pos_XY 5@ 6@ size 3@ 4@
{976} 0AB2: ret 0
{981} 000A: 0@ += 338
{989} 0A8C: write_memory 0@ size 1 value 1@ virtual_protect 1
{1001} 0AB2: ret 0
:Noname_1006
hex
0F 84 7B 01 00 00 // je 0x181
50 // push eax
51 // push ecx
end
:Noname_1014
hex
50 // push eax
51 // push ecx
FF 15 00 83 85 00 // call DWORD PTR ds:0x858300
end