A little off subject

how would i go about patching offsets? i made a opengl wrapper and i want it to patch some offsets in the memory…