function door2_slot_42() /* entry=377 class_id=0x0A07 slot=0x42 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    counter, /* [BP-02h] type=0x69 */
    item; /* [BP-04h] type=0x24 */

  entry:
    set_info(0x0207, *(arg_06));
    class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), 6, 0x03B9, *(arg_06));
    if (!retval) goto block_3AF9;

  block_3AEF:
    /* word_to_dword  */
    /* pop_result  */
    goto block_3B62;

  block_3AF9:
    counter = 0;

  block_3B0D:
    if (counter <= 6) goto block_3B58;

  block_3B15:
    spawn class_0A0C_slot_32(pid, 5, 0x00000000);
    suspend;
    counter = (1 + counter);
    goto block_3B0D;

  block_3B58:
    /* word_to_dword  */
    /* pop_result  */
    goto block_3B62;

  block_3B62:
    return;

}
