Capt Anthony James Pye Molloy's son: John William Molloy was a barrister in London, not a Captain in the army.
AJP Molloy's second son Charles Robt Manners Molloy WAS a Captain in the army. This is stated in Anthony Molloy's Will (National Archives KEW)
Nobody knows the father of Capt John Molloy (b. 1789) who settled in Western Australia.