Accounted for the return value in the parameter size allocation. Also made it so the function return value offset is baked into the generated headers.