This is a basic template with the purpose of including all arguments / table variables to make it easily known which values can be accessed.
gameevent.Listen( "ragdoll_dissolved" )
hook.Add( "ragdoll_dissolved", "ragdoll_dissolved_example", function( data )
local entindex = data.entindex // The Entity:EntIndex() of the disolved Ragdoll.// Called when a Ragdoll is going to be Dissolved.end )