Skip to content

Instantly share code, notes, and snippets.

@amalloy
Created June 9, 2017 00:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amalloy/04b8d3d9182734b706325df6cda3e619 to your computer and use it in GitHub Desktop.
Save amalloy/04b8d3d9182734b706325df6cda3e619 to your computer and use it in GitHub Desktop.
(gdb) p weapon
$2 = (item_def *) 0x1a9af90 <you+4336>
(gdb) p launch_type
$3 = LRET_BUGGY
(gdb) p is_launched(attacker, weapon, *projectile)
$4 = LRET_THROWN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment