Writing to memory address using ASM? menu

User Tag List

Results 1 to 4 of 4
  1. #1
    pinny's Avatar Active Member
    Reputation
    29
    Join Date
    Jan 2010
    Posts
    211
    Thanks G/R
    7/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Writing to memory address using ASM?

    This is for 1.12.1.
    Trying to test something out and inject some code which will be overwriting a memory address at some point.

    "mov esi, 267488086"
    "mov [4803159], esi"

    I am trying to overwrite the 4 bytes of memory at [0x494A57] (Decimal: 4803159) with the integer value 267488086.

    However, I get this error:



    I'm using BlackMagic in C# to do the asm injection. I have no issues mov'ing to memory locations that I allocated using VirtualAllocEx, but i'm unable to mov to memory locations that pre-existed before I injected. Any tips for what i'm doing wrong here? Thanks

    Writing to memory address using ASM?
  2. #2
    para_'s Avatar Active Member 01001100 01001111 01001100 CoreCoins Purchaser
    Reputation
    56
    Join Date
    Aug 2008
    Posts
    55
    Thanks G/R
    16/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey Pinny, have you checked the access rights for that address and the surrounding memory? I'm betting it is set to Read-only and you'll need to make it writable.

  3. #3
    pinny's Avatar Active Member
    Reputation
    29
    Join Date
    Jan 2010
    Posts
    211
    Thanks G/R
    7/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by para_ View Post
    Hey Pinny, have you checked the access rights for that address and the surrounding memory? I'm betting it is set to Read-only and you'll need to make it writable.
    I think this must be the case. I'll have to look into how to go about making it writable for the injected asm. Thanks!

  4. #4
    lolp1's Avatar Site Donator CoreCoins Purchaser
    Reputation
    190
    Join Date
    Feb 2013
    Posts
    210
    Thanks G/R
    43/77
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    See MemorySharp/src/MemorySharp/Assembly at master * ZenLulz/MemorySharp * GitHub for a clean 'external' assembly injection imp.

Similar Threads

  1. [3.0.9] Memory Address
    By JuJuBoSc in forum WoW Memory Editing
    Replies: 18
    Last Post: 04-15-2009, 12:18 PM
  2. And what does one do with all these memory addresses?
    By Nonominator in forum WoW Memory Editing
    Replies: 6
    Last Post: 03-23-2008, 06:52 PM
  3. Some Useful ASM info
    By Hausmaster in forum WoW Memory Editing
    Replies: 1
    Last Post: 03-23-2008, 06:32 PM
  4. where is that guide to finding the memory-address which Enables model editing
    By mikesanders in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 07-12-2007, 11:19 PM
All times are GMT -5. The time now is 10:15 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search