Repair vs. replace usually comes down to: extent of internal damage (minor wear favors repair, cracked housings or multi-component damage favors replacement), age and remaining service life, parts availability (obsolete or long-lead-time parts push toward replacement, though brands like Cotta that build to more standardized, heavy-duty designs can sometimes make sourcing easier), and operating load/criticality (less margin for a "good enough" rebuild on critical or heavily loaded units).
Rule of thumb: if repair cost exceeds roughly 60–70% of a new gearbox's price, or damage extends to the housing or multiple internal components, replacement is usually the better investment.
Before deciding, do a full teardown inspection to confirm the real extent of damage, and weigh repair cost/labor, turnaround time, warranty terms, downtime cost in both scenarios, and whether the repaired unit will be de-rated afterward.