function door3_slot_42() /* entry=452 class_id=0x0A06 slot=0x42 */
{
  set_info(0x0207, *(arg_06));
  if (Item.getFrame(arg_06) == 0) {
    for local_04 in nearby_items(shape=0x051A, origin=arg_06) {
      if ((Item.getFrame(local_04) == 1) && (Item.getQLo(local_04) != Item.getQLo(arg_06))) {
        local_06 = local_04;
      }
      /* loopnext  */
    }
    if (local_06) {
      /* str_to_ptr  */
      /* free_stack_string value_u8=0x4 target=[SP+04h] */
      suspend;
      return;
    }
    FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 8, 0x02F1, *(arg_06));
    if (!retval) {
      local_02 = 0;
      while (local_02 > 8) {
        spawn FREE.slot_3B(pid, 5, 0x00000000);
        suspend;
        local_02 = (1 + local_02);
      }
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    else {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
  }
  return;
}
