Involved in transcriptional activation and repression of select genes by chromatin remodeling (alteration of DNA-nucleosome topology). Component of SWI/SNF chromatin remodeling complexes that carry out key enzymatic activities, changing chromatin structure by altering DNA-histone contacts within a nucleosome in an ATP-dependent manner (By similarity). Required for the blmp-1-mediated transcriptional activation or repression of several hypodermal genes such as bed-3 (PubMed:32417234). Involved in regulating differentiation, migration and axon pathfinding of specific serotonergic neurons (HSNs) (PubMed:26739451). Probably regulates vulva development through the let-60/Ras pathway (PubMed:26739451). May be involved in regulation of developmental processes in the embryo driven by the Wnt pathway (PubMed:26739451). Involved in gonadogenesis (PubMed:26739451, PubMed:24402584). Component of the multiprotein chromatin-remodeling complexes SWI/SNF: SWI/SNF-A (BAF), SWI/SNF-B (PBAF) and related complexes (Probable). The canonical complex contains a catalytic subunit swsn-4, core subunits swsn-1 and swsn-5, and accessory subunits swsn-3, swsn-6, phf-10, dpff-1, swsn-9 and either ham-3/swsn-2.1 or swsn-2.2 (Probable). May interact with blmp-1 (PubMed:32417234). Broadly expressed in all cell types. First observed after gastrulation and persists into the first larval stages and in the adult. RNAi-mediated knockdown at the L1 larval stage reduces brood size (PubMed:26739451). RNAi-mediated knockdown reduces expression of tph-1, which encodes a component of the serotonin synthesis pathway (PubMed:23457234). RNAi-mediated knockdown reduces the level of bed-3 and col-124 mRNAs and increases the level of lin-29 mRNA (PubMed:32417234). Simultaneous knockouts of swsn-2.2 do not survive beyond the L2 larval stage (PubMed:24402584). Simultaneous RNAi-mediated knockdown of swsn-2.2 at the L1 larval stage causes sterility, while at the L3 larval stage, causes embryonic lethality for the progeny (PubMed:26739451). The sterile animals resulting from simultaneous RNAi-mediated knockdown of swsn-2.2 at the L1 larval stage develop smaller germ lines (PubMed:26739451). Simultaneous RNAi-mediated knockdown of swsn-2.2 also results in vulva protrusion and ectopic expression of egl-17 in cells derived from the vulval precursor cells P5.p and P7.p (PubMed:26739451). Belongs to the SMARCD family.