function lift_ew_gotHit() /* entry=408 class_id=0x0629 slot=0x06 */
{
  set_info(0x020C, *(arg_06));
  process_exclude();
  local_02 = arg_0A;
  if (!(Item.getStatus(arg_06) & 0x1000)) {
    return;
  }
  else {
    FREE.slot_34(arg_0C, arg_0A);
    if (!retval) {
      return;
    }
    else if ((Item.getSurfaceWeight(arg_06) == 0) || (Item.isCompletelyOn(*(arg_06), local_02) != 0)) {
      return;
    }
    else {
      spawn ELEVAT.slot_20(pid, arg_06);
      suspend;
      while (!(1)) {
        if (Item.getSurfaceWeight(arg_06) == 0) {
          spawn FREE.slot_3B(pid, 2, 0x00000000);
          suspend;
        }
        else {
          spawn FREE.slot_3B(pid, 2, 0x00000000);
          suspend;
          return;
        }
      }
    }
  }
  return;
}
