Results 1 to 1 of 1
  1. #1
    Dwar is offline
    Veteran Dwar's Avatar
    Join Date
    2010 Mar
    Thanked 2,224 Times in 289 Posts
    Rep Power

    [Snippet] Address Offset Retreiver

    Now, in DLL injection there is direct pointer writing, where you can write the value of an address directly. Now have you ever used cheat engine to find a value, and it has the address "client.dll+12345" or something like that, and you are thinking what the hell? Well this is a basic header file + function that can be used to retrieve that address.
    //GetAddress.h Made by lilneo
    DWORD GetAddress(DWORD addie, LPCSTR module)
    DWORD addie1=(DWORD)GetModuleHandle(module);
    DWORD addie2=addie;
    DWORD address = addie1+addie2;
    return address;
    return NULL;

    I made it super simple, all you have to do is say we want a pointer to our address engine.dll+23456

    DWORD* OurAddress = (DWORD*)GetAddress(0x53456,"engine.dll");

    and viola, when you change *OurAddress it will write directly to whatever address specified.

    Note: I know this is a SUPER simple method, but when I first attempted it I had more trouble than I hoped.

    by lilneo
    Please, post your questions on forum, not by PM or mail

    I spend my time, so please pay a little bit of your time to keep world in equilibrium

Visitors found this page by searching for:

c adress offset

GetModuleHandle client.dll(DWORD)GetModuleHandle c dll address offsetaddress client.dllc# getmodulehandlec# get address getmodulehandleaddress address offset gameget dll offset c (dword)getmodulehandledword getaddress(dword addie lpcstr module) {c offsetc# read module game.dllc# getmodulehandle game.dllc# read offset from gamec# offset of moduleget adress client.dllgetmodulehandle adress c# GetModuleHandlec# moduleoffsetgetmodulehandle(client.dlloffset address c C# module offsetGetModuleHandle module offsetc# offset game

Posting Permissions

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