| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		veelox321 Newbie cheater
  Reputation: 0
  Joined: 12 Jan 2022 Posts: 11
 
  | 
		
			
				 Posted: Tue Oct 03, 2023 4:31 pm    Post subject: Any good assembly to C converter free? | 
				       | 
			 
			
				
  | 
			 
			
				Hi, i have a lot of experience when it comes to C. I can read assembly. what i just cant is modifying a big function in assembly because im stuck in not knowing what is what. any good assembly to C converter that could help me in my scripting
 
thanks
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		atom0s Moderator
  Reputation: 205
  Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
  | 
		
			
				 Posted: Wed Oct 04, 2023 3:03 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				There are several decompilers that can generate pseudo C/C++ code from assembly such as:
 
 
 - Angr
 
 - BinaryNinja
 
 - Boomerang
 
 - dewolf
 
 - Ghidra
 
 - HexRays (IDA Pro Plugin)
 
 - RecStudio
 
 - Reko
 
 - Relyze
 
 - RetDec
 
 - Snowman
 
 
In terms of which is recommended or "best", IDA's decompiler is the most mature, but expensive. Ghidra's is probably the second best and is free / open-source. 
 
 
Just know anything generated from a decompiler is pseudo-code, it is not guaranteed to be correct or complete.
 _________________
 - Retired.  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		veelox321 Newbie cheater
  Reputation: 0
  Joined: 12 Jan 2022 Posts: 11
 
  | 
		
			
				 Posted: Wed Oct 04, 2023 7:00 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				Thank you very much going to try Ghidra
 
 	  | atom0s wrote: | 	 		  There are several decompilers that can generate pseudo C/C++ code from assembly such as:
 
 
 - Angr
 
 - BinaryNinja
 
 - Boomerang
 
 - dewolf
 
 - Ghidra
 
 - HexRays (IDA Pro Plugin)
 
 - RecStudio
 
 - Reko
 
 - Relyze
 
 - RetDec
 
 - Snowman
 
 
In terms of which is recommended or "best", IDA's decompiler is the most mature, but expensive. Ghidra's is probably the second best and is free / open-source. 
 
 
Just know anything generated from a decompiler is pseudo-code, it is not guaranteed to be correct or complete. | 	  
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		veelox321 Newbie cheater
  Reputation: 0
  Joined: 12 Jan 2022 Posts: 11
 
  | 
		
			
				 Posted: Fri Oct 06, 2023 8:17 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				Thanks for the tips. now im stuck with finding same adress in cheat engine and ghidra.
 
ive tried : 
 
-find adress of variable i want, find what write adress. 
 
-in memory viewer i tried taking the adress of the instruction in compare it to ghidra, i ve tried hex searching. i use the game.exe ive tried with mono.dll no luck in finding the specific function back in ghidra
 
 	  | atom0s wrote: | 	 		  There are several decompilers that can generate pseudo C/C++ code from assembly such as:
 
 
 - Angr
 
 - BinaryNinja
 
 - Boomerang
 
 - dewolf
 
 - Ghidra
 
 - HexRays (IDA Pro Plugin)
 
 - RecStudio
 
 - Reko
 
 - Relyze
 
 - RetDec
 
 - Snowman
 
 
In terms of which is recommended or "best", IDA's decompiler is the most mature, but expensive. Ghidra's is probably the second best and is free / open-source. 
 
 
Just know anything generated from a decompiler is pseudo-code, it is not guaranteed to be correct or complete. | 	  
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |