Some simple reverse engineering in C