Raised This Month: $51 Target: $400
 12% 

Lysis: An experimental .smx decompiler


Post New Thread Reply   
 
Thread Tools Display Modes
SourceSamil
Junior Member
Join Date: Feb 2016
Old 02-23-2016 , 20:39   Re: Lysis: An experimental .smx decompiler
Reply With Quote #251

Quote:
Originally Posted by Peace-Maker View Post
That looks like a clone from the previously posted plugin.
The webversion gives you an idea of the logic already. Nothing newly breaking in there.
It's plugin doens't decompile.
Attached Files
File Type: smx as.smx (10.7 KB, 146 views)
File Type: smx anlol.smx (3.8 KB, 152 views)

Last edited by SourceSamil; 02-24-2016 at 04:39.
SourceSamil is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-24-2016 , 08:34   Re: Lysis: An experimental .smx decompiler
Reply With Quote #252

Quote:
Originally Posted by SourceSamil View Post
It's plugin doens't decompile.
as.smx:
Spoiler


anlol.smx:
Spoiler


Code:
"C:\Users\Samil\Desktop\test\include\core.inc"
 nameoffs = 0x0
 address = 0x8
"C:\Users\Samil\Desktop\test\anlol.sp"
 nameoffs = 0xac
 address = 0xb68
Are you crafting these yourself? You can just file bug reports on the github repo.
__________________
Peace-Maker is offline
SourceSamil
Junior Member
Join Date: Feb 2016
Old 02-24-2016 , 10:13   Re: Lysis: An experimental .smx decompiler
Reply With Quote #253

anlol.smx - it's my code, but as.smx, it's not my
SourceSamil is offline
SourceSamil
Junior Member
Join Date: Feb 2016
Old 02-24-2016 , 10:17   Re: Lysis: An experimental .smx decompiler
Reply With Quote #254

Can you write me a bite code full functions?
SourceSamil is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-24-2016 , 10:33   Re: Lysis: An experimental .smx decompiler
Reply With Quote #255

Quote:
Originally Posted by SourceSamil View Post
anlol.smx - it's my code, but as.smx, it's not my
Why?

Quote:
Originally Posted by SourceSamil View Post
Can you write me a bite code full functions?
What?
__________________
Peace-Maker is offline
SourceSamil
Junior Member
Join Date: Feb 2016
Old 02-24-2016 , 10:54   Re: Lysis: An experimental .smx decompiler
Reply With Quote #256

What is "Why?"?
as.smx code was written by russian programmer to block decompiler
Can you give me bytecodes functions of sourcemod?
SourceSamil is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-24-2016 , 15:25   Re: Lysis: An experimental .smx decompiler
Reply With Quote #257

Quote:
Originally Posted by SourceSamil View Post
What is "Why?"?
as.smx code was written by russian programmer to block decompiler
Can you give me bytecodes functions of sourcemod?
Why are you trying to break the decompiler? That code obviously isn't sane.
What do you mean by "bytecode functions of sourcemod"?
__________________
Peace-Maker is offline
SourceSamil
Junior Member
Join Date: Feb 2016
Old 02-24-2016 , 20:48   Re: Lysis: An experimental .smx decompiler
Reply With Quote #258

new Handle:_0x000000A3[2] =

It's bytecode.

No, just a russian man violates the GPL, I found his plugin and gave you it, i want decopile this code
SourceSamil is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 02-24-2016 , 21:42   Re: Lysis: An experimental .smx decompiler
Reply With Quote #259

It's not bytecode... Here's bytecode(from OnPluginStart in anlol.smx):
PHP Code:
0xb6c: break                           
0xb70: break                           
0xb74push.c 0x0                       0
0xb7c
: break                           
0xb80load.s.both 0xfffffffc 0xfffffffc i i
0xb8c
jeq 0xbb8                        ; +0x2c
0xb94
load.s.both 0xfffffffc 0xfffffffc i i
0xba0
jneq 0xbb8                       ; +0x18
0xba8
: const.pri 0x1                    1
0xbb0
jump 0xbbc                       ; +0xc
0xbb8
zero.pri                        
0xbbc
jnz 0xc0c                        ; +0x50
0xbc4
load.s.pri 0xfffffffc            i
0xbcc
jzer 0xbf4                       ; +0x28
0xbd4
load.s.pri 0xfffffffc            i
0xbdc
jnz 0xbf4                        ; +0x18
0xbe4
: const.pri 0x1                    1
0xbec
jump 0xbf8                       ; +0xc
0xbf4
zero.pri                        
0xbf8
jnz 0xc0c                        ; +0x14
0xc00
zero.pri                        
0xc04
jump 0xc14                       ; +0x10
0xc0c
: const.pri 0x1                    1
0xc14
jzer 0xd44                       ; +0x130
0xc1c
: break                           
0xc20stack 0xc4653600                 ; -1000000000
0xc28
: break                           
0xc2cpush.c 0x3b9ac9ff                999999999
0xc34
push.adr 0xc46535fc              sBlock
0xc3c
: const.pri 0x8b0                  2224
0xc44
heap 0x8                         8
0xc4c
movs 0x8                         8
0xc54
push.alt                        
0xc58
sysreq.n 2 0x1                   GetTime 1
0xc64
heap 0xfffffff8                  ; -8
0xc6c
push.pri                        
0xc70
sysreq.n 3 0x3                   IntToString 3
0xc7c
: break                           
0xc80stack 0xfffffffc                 ; -4
0xc88
: const.s 0xfffffffc 0x2a05f1fb    i 705032699
0xc94
stor.s.pri 0xc46535f8            x
0xc9c
: break                           
0xca0load.s.both 0xfffffffc 0xfffffffc i i
0xcac
jeq 0xd00                        ; +0x54
0xcb4
load.s.both 0xfffffffc 0xfffffffc i i
0xcc0
jneq 0xd00                       ; +0x40
0xcc8
load.s.both 0xc46535f8 0xfffffffc x i
0xcd4
jeq 0xd00                        ; +0x2c
0xcdc
load.s.both 0xc46535f8 0xfffffffc x i
0xce8
jneq 0xd00                       ; +0x18
0xcf0
: const.pri 0x1                    1
0xcf8
jump 0xd04                       ; +0xc
0xd00
zero.pri                        
0xd04
jzer 0xd34                       ; +0x30
0xd0c
: break                           
0xd10push.adr 0xc46535fc              sBlock
0xd18
push.c 0x3b9ac9ff                999999999
0xd20
push.adr 0xc46535fc              sBlock
0xd28
sysreq.n 4 0x3                   strcopy 3
0xd34
stack 0x3b9aca04                 1000000004
0xd3c
jump 0xd58                       ; +0x1c
0xd44
: break                           
0xd48push.c 0x0                       0
0xd50
call 0xd68                       Func_Lol
0xd58
stack 0x4                        4
0xd60
zero.pri                        
0xd64
retn 
As for as.smx, it's doing something to prevent SPEdit's DASM viewer from loading the file.

Last edited by WildCard65; 02-24-2016 at 21:46.
WildCard65 is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-24-2016 , 23:09   Re: Lysis: An experimental .smx decompiler
Reply With Quote #260

Quote:
Originally Posted by WildCard65 View Post
As for as.smx, it's doing something to prevent SPEdit's DASM viewer from loading the file.
It messed with the section table. Here it is with the headers fixed.
Attached Files
File Type: smx as.smx (10.7 KB, 142 views)
__________________
Peace-Maker is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode