function roll_ew_gotHit() /* entry=326 class_id=0x056C slot=0x06 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    ref, /* [BP+0Ah] type=0x69 */
    vel; /* [BP+0Ch] type=0x69 */

  set_info(0x020C, *(arg_06));
  process_exclude();
  if ((Item.getStatus(arg_06) & 0x1000) == 0) {
    spawn ROLL_EW.slot_21(arg_06);
    return;
  }
  else {
    spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
    suspend;
    /* dword_to_word  */
    if (process_result) {
      FREE.slot_20(1);
      if (!retval) {
      }
      return;
    }
    else {
      spawn ROLL_EW.slot_20(pid, arg_06);
      suspend;
    }
  }
  return;
}
