How do i add up the pointer? base addy + offset..
What is the proper way for getting the addy where pointer is pointing to?
DWORD base = (DWORD)GetModuleHandleA("module.dll");
DWORD addy = base + 0xoffset1 + 0xoffset2 + 0xoffset3; ?
*(int*)addy = newvalue;
is it same with multilevel pointer?
Could somebody explain me multilevel pointers? as i understand, the multilevel pointer is with multiple offsets right?
OrX
Multilevel pointer simply means that you must dereference and add multiple offsets to a "base" value to find the address of the pointer.
Think about this:
0x12345 points to an integer type variable.
0x123456 points to 0x12345
0x1234567 points to 0x123456
the base would be 0x1234567