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 -

Simple Angular 2 project fails 'Unexpected reserved word' -

ios - Possible to get UIButton sizeThatFits to work? -