Bungendore shooting accused had been assaulted, court heard