Green’s Dictionary of Slang

bang v.2

also bang off/up
[noise of the weapon]

[early 19C+] (US) to shoot; to kill by shooting.