Palmitoyltransferase that catalyzes the addition of palmitate onto various protein substrates and is involved in a variety of cellular processes. Has no stringent fatty acid selectivity and in addition to palmitate can also transfer onto target proteins myristate from tetradecanoyl-CoA and stearate from octadecanoyl-CoA (By similarity). Palmitoyltransferase specific for a subset of neuronal proteins, including SNAP25, DLG4/PSD95, GAD2, SYT1 and HTT. Also palmitoylates neuronal protein GPM6A as well as SPRED1 and SPRED3. Could also play a role in axonogenesis through the regulation of NTRK1 and the downstream ERK1/ERK2 signaling cascade (By similarity). May be involved in the sorting or targeting of critical proteins involved in the initiating events of endocytosis at the plasma membrane. May play a role in Mg(2+) transport. Could also palmitoylate DNAJC5 and regulate its localization to the Golgi membrane (By similarity). Palmitoylates CASP6, thereby preventing its dimerization and subsequent activation.