BPS invariants from p-adic integrals | Synapse