Bytes to ASM

Just starting out? Need help? Post your questions and find answers here.
User avatar
braveheart
User
User
Posts: 37
Joined: Mon Jan 04, 2010 5:54 pm

Bytes to ASM

Post by braveheart »

Code: Select all

oGame = OpenProcess_(#PROCESS_ALL_ACCESS,#Null,prcID) 
Poke(buffer+0,$8b)
Poke(buffer+1,$00)
WriteProcessMemory_(oGame,hAddress,buffer,2,#Null)
Is there a way to convert this into inline asm code?
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Bytes to ASM

Post by DarkDragon »

braveheart wrote:

Code: Select all

oGame = OpenProcess_(#PROCESS_ALL_ACCESS,#Null,prcID) 
Poke(buffer+0,$8b)
Poke(buffer+1,$00)
WriteProcessMemory_(oGame,hAddress,buffer,2,#Null)
Is there a way to convert this into inline asm code?
Inline asm? I think you don't understand what inline asm means.

Nevertheless you can convert it to readable assembler code using disassemblers while running your purebasic program (a bad one is implemented inside the onerror library of purebasic).
bye,
Daniel
Post Reply