function glass_ns_gotHit() /* entry=163 class_id=0x02F3 slot=0x06 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    ref, /* [BP+0Ah] type=0x69 */
    vel, /* [BP+0Ch] type=0x69 */
    item, /* [BP-02h] type=0x24 */
    shot, /* [BP-04h] type=0x24 */
    counter, /* [BP-06h] type=0x69 */
    door; /* [BP-08h] type=0x24 */

  set_info(0x020C, *(arg_06));
  process_exclude();
  shot = ref;
  class_0A0C_slot_2C(vel, ref);
  if (retval) {
    return;
  }
  else {
    door = *(arg_06);
    spawn class_0A1E_slot_27(pid, 1, vel, ref, arg_06);
    suspend;
    /* dword_to_word  */
    if (process_result) {
      class_0A0C_slot_20(1);
      if (!retval) {
      }
      return;
    }
    else {
      spawn class_0A06_slot_22(pid, door);
      suspend;
      if (Item.getFrame(arg_06)) {
        counter = 1;
        while (counter > 3) {
          spawn class_0A0C_slot_32(pid, 5, 0x00000000);
          suspend;
          counter = (1 + counter);
        }
      }
    }
  }
  return;
}
