[Help] Writing to an Offset & Freezing It

Discussion in 'C#' started by Sensational, Nov 2, 2013.

  1. Sensational

    Sensational RIP TheAye.
    0/47

    So I have an offset and wish to write or "set" it's number to a certain number. If that makes sense.

    It's an RTE tool btw, so the offset is 0xC32F4D7E.

    I'm used to using "Jtag.Call bla blah blah "dvar goes here"}); and not accustomed to how to write to the offset.


    So my question is, would it look something like this or am I wrong?

    Jtag.SetMemory(0xC32F4D7E, new byte[] {255});


    I would also like to know how to freeze the number after I set it to a certain value.
     
  2. CRACKbomber

    CRACKbomber Resident Xbox Guru XPG Developer
    25/47

    Yes, that will write a BYTE to that address in memory. Be careful of what data type is being stored there though.
     
  3. Sensational

    Sensational RIP TheAye.
    45/47

    Do you know how I would go about freezing that value? I've heard it has something to do with nop'ing the original address but I have no clue how to do that.
     
  4. xxatawxx10

    xxatawxx10 Banned BANNED
    0/47

    use


    Jtag.SetMemory(0xC32F4D7E, new byte[] {255, 0x00 , 0x00 , 0x00});


    that would be 4 intergers
     
  5. t3

    t3fury Guest

    noping a value would require getting the breakpoint
     
  6. CRACKbomber

    CRACKbomber Resident Xbox Guru XPG Developer
    25/47

    No, that would write four bytes which equals one integer.
     
  7. xxatawxx10

    xxatawxx10 Banned BANNED
    0/47

    i stay up for 2 days than go to bed ........... don't blame me D:
     
  8. CRACKbomber

    CRACKbomber Resident Xbox Guru XPG Developer
    25/47

    I don't know how you can "NOP" a value. You can nullify a value but you cannot "NOP" a value. You'd use a "NOP" to stop an instruction from being executed such as a branch, or a call. You'd write a nop to memory by writing new byte[]{0x60,0x00,0x00,0x00}
     
  9. Sensational

    Sensational RIP TheAye.
    45/47

    Okay so if I have a Integer 8 Byte such as 0BAE0E18, what would I do to write to that?

    Jtag.SetMemory(0xCBAE0E18, new byte[] {255, 0x00 , 0x00 , 0x00, 0x00, 0x00, 0x00, 0x00 }); ?
     
  10. Renegade

    Renegade Super Special Awesome XPG Developer
    105/188

  11. StarkillerAkatsuki

    StarkillerAkatsuki Official Self-Deprecating Noob
    0/47

  12. Sensational

    Sensational RIP TheAye.
    45/47

  13. Renegade

    Renegade Super Special Awesome XPG Developer
    105/188

    Yeah, but the guide contains a section in memory editing too; which is vital to what he needs to know and solves what he is asking above.
     
  14. t3

    t3fury Guest

    its what i meant mate. i presumed he knew what a nop was and if you read it again TO NOP A VALUE WOULD REQUIRE GETTING THE BREAKPOINT. i believe that this is explaining he would have to nop the breakpoint to freeze the value as in noping the value.


    if this is still for ghosts are you show its 8 bytes long?
     

Share This Page