c9ff579405
Use offsets from a single pointer instead of multiple pointers into an array. Also removed an integer-pointer cast