What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » creating an asm opcode

creating an asm opcode
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: creating an asm opcode
I'm not sure if this is what Verte means (if so slap me), but can't you overwrite the original opcode (the one you overwrite now anyways) with an unconditional jump to your instructions and at the end of your instructions unconditionally jump back to the opcode after the one you've overwritten? In that way you only need to replace 1 opcode and don't need to call anything else...

If I read it correctly you want to do:
original opcode 1
original opcode 2
original opcode 3
original opcode 4         \ replaced with other opcode and jmp to your code:
original call wherever   /             line1: blahblah
original opcode 6                       line 2: blahblah
original opcode 7                       line 3: original call wherever

But can't you do:
original opcode 1
original opcode 2
original opcode 3
original opcode 4        -- replaced with only a jmp to your code:
original call wherever                   line1: blahblah
original opcode 6                         line 2: blahblah
original opcode 7                         line 3: jmp back to 'original call' line

If I'm talking gibberish, than it maybe is, so ignore it in that case :p

PS: all this can be done from within Plus! scripting itself though, you don't need any DLL for this, only your compiled ASM code (as a byte string) which you're injecting and the CallWindowProc API.

All this makes me also very curious to what you're brewing :p

This post was edited on 06-27-2007 at 11:52 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
06-27-2007 11:48 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
creating an asm opcode - by effection on 06-25-2007 at 12:25 PM
RE: creating an asm opcode - by Verte on 06-25-2007 at 03:26 PM
RE: creating an asm opcode - by effection on 06-25-2007 at 08:03 PM
RE: RE: creating an asm opcode - by Verte on 06-26-2007 at 09:17 AM
RE: creating an asm opcode - by TheSteve on 06-26-2007 at 12:21 AM
RE: creating an asm opcode - by effection on 06-26-2007 at 10:04 AM
RE: RE: creating an asm opcode - by Verte on 06-26-2007 at 10:24 AM
RE: creating an asm opcode - by effection on 06-27-2007 at 03:45 PM
RE: creating an asm opcode - by CookieRevised on 06-27-2007 at 11:48 PM
RE: creating an asm opcode - by Verte on 06-28-2007 at 01:39 AM
RE: creating an asm opcode - by effection on 06-28-2007 at 11:28 AM
RE: creating an asm opcode - by Verte on 06-28-2007 at 01:57 PM
RE: creating an asm opcode - by effection on 06-28-2007 at 03:18 PM
RE: creating an asm opcode - by CookieRevised on 06-29-2007 at 02:40 AM
RE: creating an asm opcode - by Verte on 06-29-2007 at 10:07 AM
RE: creating an asm opcode - by effection on 06-29-2007 at 05:49 PM
RE: creating an asm opcode - by Verte on 06-29-2007 at 11:42 PM
RE: creating an asm opcode - by effection on 06-30-2007 at 12:15 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On