r3117| remove code duplication, thus reducing exe size.
r3117| remove code duplication, thus reducing exe size.

lantus/openbor,lantus/openbor,lantus/openbor,lantus/openbor,rofl0r/openbor,rofl0r/openbor,rofl0r/openbor,rofl0r/openbor