code: func (c *Callbacks) OnCDemoSpawnGroups(fn func(*dota.CDemoSpawnGroups) error) {
  	c.onCDemoSpawnGroups = append(c.onCDemoSpawnGroups, fn)
  }
docs: // OnCDemoSpawnGroups registers a callback EDemoCommands_DEM_SpawnGroups