I think your query might be better suited to the
Armed Forces Board here on RootsChat. Most of the military records for that era ended up in London.
The Royal Barracks was located in the west of the city and just north of the river Liffey. It was later renamed (1922) to Collins barracks, and now used as part of the National Museum of Ireland.