Then here I would simply change the yaw line to
'''(((float)mixer->matrix[MIXERSETTINGS_MIXER1VECTOR_YAW] * invert_yaw / 128.0f) * desired->Yaw);'''