function door2_slot_27() /* entry=377 class_id=0x0A07 slot=0x27 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    counter, /* [BP-02h] type=0x69 */
    counter2, /* [BP-04h] type=0x69 */
    maxFrame; /* [BP-06h] type=0x69 */

  set_info(0x0207, *(arg_06));
  maxFrame = 8;
  FREE.slot_2D((Item.getZ(arg_06) - (8 * 10)), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x02D5, *(arg_06));
  if (!retval) {
    spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
    suspend;
  }
  else {
    /* word_to_dword  */
    /* pop_result  */
    return;
  }
  counter = (maxFrame - 1);
  while (counter <= 0) {
    spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
    suspend;
    counter = (counter - 1);
  }
  /* word_to_dword  */
  /* pop_result  */
  return;
}
