Loc 2 Posted December 27, 2021 Share Posted December 27, 2021 Can someone kind help me to convert ASM code to AutoIT🥶 [enable] alloc(mycode,1024) CREATETHREAD(mycode); mycode: mov edx,CC push edx call 004496E0 pop edx ret [disable] dealloc(mycode)  Link to post Share on other sites
Earthshine 767 Posted December 27, 2021 Share Posted December 27, 2021 What is this for and where did you get the code My resources are limited. You must ask the right questions  Link to post Share on other sites
Loc 2 Posted December 27, 2021 Author Share Posted December 27, 2021 I'm learning about ASM, so I'm studying and studying to switch to AutoIT. This code is just for calling 1 function(Not game related). TheDcoder 1 Link to post Share on other sites
Danp2 1,219 Posted December 27, 2021 Share Posted December 27, 2021 10 minutes ago, Loc said: Not game related Sure. 😆 I suspect that you won't get the help you are after if you continue to avoid answering basic questions.  WebDriver UDF [GH&S]  Latest version Wiki FAQs Link to post Share on other sites
Developers Jos 2,604 Posted December 27, 2021 Developers Share Posted December 27, 2021 17 minutes ago, Loc said: This code is just for calling 1 function(Not game related). Anything wrong with your helpfile? (and why did you mention that it isn't game related?  ) Test() Func Test() EndFunc Earthshine and TheDcoder 1 1 SciTE4AutoIt3 Full installer Download page  - Beta files    Read before posting   How to post scriptsource   Forum etiquette Forum Rules  Live for the present, Dream of the future, Learn from the past. Link to post Share on other sites
Earthshine 767 Posted December 27, 2021 Share Posted December 27, 2021 Yeah the two languages are nowhere near identical so you will have to know exactly what that a similar program does why it’s calling that address. And I’m willing to bet this is game related My resources are limited. You must ask the right questions  Link to post Share on other sites
Loc 2 Posted December 28, 2021 Author Share Posted December 28, 2021 I mention not related to the game because it violates the forum rules. I just want to get help. Link to post Share on other sites
Developers Jos 2,604 Posted December 28, 2021 Developers Share Posted December 28, 2021 When you want help you need to post a question with a proper goal or purpose...  so try again. TheDcoder 1 SciTE4AutoIt3 Full installer Download page  - Beta files    Read before posting   How to post scriptsource   Forum etiquette Forum Rules  Live for the present, Dream of the future, Learn from the past. Link to post Share on other sites
TheDcoder 1,636 Posted December 28, 2021 Share Posted December 28, 2021 @Loc Why do you want to "covert" ASM code to AutoIt anyway? Just run it normally after assembling it like everyone else. If needed you could call the resulting executable from AutoIt. EasyCodeIt - A cross-platform AutoIt implementation DcodingTheWeb Forum - Follow for updates and Join for discussion Link to post Share on other sites
AndyG 53 Posted December 29, 2021 Share Posted December 29, 2021 13 hours ago, TheDcoder said: Why do you want to "covert" ASM code to AutoIt anyway? Just run it normally after assembling it like everyone else. Because it´s no "ASM" code, it can´t be "easily" assembled (by i.e. FASM/MASM) and converted to AutoIt. AFAIK the code is a (part of a) CheatEngine Script...and of cause could be transformed to AutoIt with some lines of code. That requires the knowledge of some details of the program the call is pointing to.....but the OP/TS mentioned 23 hours ago, Loc said: not related to the game because it violates the forum rules.  All said. argumentum 1 Link to post Share on other sites
Developers Jos 2,604 Posted December 29, 2021 Developers Share Posted December 29, 2021 Guess this thread has run its course and @Loc, next time you better make it ultimately clear what you want because another vague thread like this that very much smells as Game Automation will not be condoned. Jos SciTE4AutoIt3 Full installer Download page  - Beta files    Read before posting   How to post scriptsource   Forum etiquette Forum Rules  Live for the present, Dream of the future, Learn from the past. Link to post Share on other sites
Recommended Posts