first of all there more to it than"if both motors are near the same year" it should be ok. ........and second the gears have absoluteley NOTHING to do with HP gain or loss. third. it is absoluteley the carburetor that makes the difference in HP. the more oxegen/fuel you give the motor the more power you get. the carbs are the same except for the high speed orfices (35 is bigger) and the venturi's, the 25 has a restricter inside it making it not able to feed the engine as much oxegen/fuel as the 35carb therefore making the 25hp carb only capable of producing 25hp from the same 521cc powerhead that makes 35hp. also you cant just change the lowers as they have different exhaust housings with the same tubes. and in this case we have no clue what year motors were talking about. most of the 20/25/30 and 35's are pretty much the same motors but depending on the years you may have different intakes with a restrictor plate that you need to very carefully file away wich ive seen done and works but I wouldn't do it. and if one of the motors was say a 25 from 1985 and you were gonna put a 30carb off a1984 model you get no gain due to the change from flywheel hp rating and the prop hp rating.. if you do your homework cross referencing part #'s you can gain hp by changing carbs, I did it to my 1980 25 by putting the 35 carb on it and it works. and on a side note even with the different lowers,gears and gear ratios on the 25's and 35's I was told by a few OB guys that the 25 lower unit and gears will handle the extra hp no problem due to the fact that OMC basically over engineered the 40 and under hp and pretty much made them indestructible and the proof is in the thousands of them that are still running after 40 or 50 years.......