c - Reading Array at Memory Address -


this injected .dll.

given following code:

if ( *(volatile unsigned long*)(0x13e81f4+(4 * *(volatile unsigned long*)0x13e81b0)) < 2) {     //... } 

is there way write in more readable fashion, eg:

if (array[i] < 2) {     //... } 

(while still using desired memory addresses)?

volatile unsigned long *p = (volatile unsigned long *)0x13e81f4; volatile unsigned long *q = (volatile unsigned long *)0x13e81b0;  if ( p[4 * q[0]] < 2 ) 

Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -