Arcade Prehacks

Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11

    Join Date
    Mar 2010
    Location
    Hungary
    Posts
    6

    Re: Pushing an integer to the stack

    but if I add nop-s that also will make the file bigger :S

  2. #12
    Super Moderator ZuckeR's Avatar
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    1,775

    Re: Pushing an integer to the stack

    You don't add nops you overwrite data with nops that otherwise would corrupt the game.

    Lets say the normal damage is 1000 (25 E8 07) and you want it to be only 10 (24 0a) then you have one byte too much that you have to nop away.
    Code:
    ORIGINAL: 25 e8 07
    CHANGED:  24 0a 02

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •