Cooperation dynamics in collective risk games with endogenous endowments | Synapse