int *myval_ptr1; int myval1; myval_ptr1 = (int *)(0x02A44244); *myval_ptr1 = 775369265; Problem : I do not know what myval_ptr1 will be, and wish to search till a specified value is found then replace it with 775369265.